This is just a warning, so no big deal really, but if you want to get it out of the way, just add android:enableOnBackInvokedCallback="true" attribute to your <application> tag in the AndroidManifest.xml.