Fix the overlay consuming KEYCODE_BACK

Bug: 181745450
Test: atest UdfpsControllerTest
Test: on device
Change-Id: I27ed60d0a4168a6d01b8524327f371bbd954dadd
This commit is contained in:
Ilya Matyukhin
2021-03-08 15:58:21 -08:00
parent 4c38e34d86
commit cf56e6127a

View File

@@ -206,6 +206,7 @@ public class UdfpsController implements DozeReceiver, HbmCallback {
WindowManager.LayoutParams.TYPE_BOOT_PROGRESS,
WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN
| WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL
| WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE
| WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED,
PixelFormat.TRANSLUCENT);
mCoreLayoutParams.setTitle(TAG);