Documentation
¶
Overview ¶
Command backprobe live-verifies Android Back (#935): an app targeting API 36 on Android 16 gets no onBackPressed and no KEYCODE_BACK, so Back must arrive through GoNativeActivity's OnBackInvokedCallback.
The probe walks four stages. Each stage logs to logcat (tag Bellui) as
backprobe stage=<n> <what is open> backprobe closed=<what> by back
and moves on 1.5 s after the open thing closes:
- a dialog: Back must close it;
- a pop-up: Back must hide it;
- the keyboard, raised by focusing an Entry: Back must lower it;
- nothing open: Back must leave the app (the activity stops).
Press Back once per stage (adb shell input keyevent KEYCODE_BACK, or the back gesture) and read the log. A stage that does not close means Back never reached bellui.