I'm using immersive mode in my application to launch app in fullscreen mode using this code in OnCreate.
View decorView = getWindow().getDecorView();
int uiOptions = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION
| View.SYSTEM_UI_FLAG_FULLSCREEN
| View.SYSTEM_UI_FLAG_LOW_PROFILE
| View.SYSTEM_UI_FLAG_LAYOUT_STABLE
| View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY
| View.SYSTEM_UI_FLAG_HIDE_NAVIGATION
| View.SYSTEM_UI_FLAG_FULLSCREEN;
decorView.setSystemUiVisibility(uiOptions);
The app is working fine but the problem is reminder bubble("Swipe down from the top to exit full screen") which keeps on coming after i lock and unlock the screen in less than 5 sec delay.I know it is defined specifically by the developers in ImmersiveModeConfirmation class in onPowerKeyDown method.
Is there any way to disable this reminder bubble programatically in third party applications?