Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d503fbeb authored by András Kurucz's avatar András Kurucz
Browse files

[Flexiglass] Flag off closing RemoteInput controls from CentralSurfaces

Closing the keyboard activated by the remote input field on the
notification is now handled through
SceneContainerViewModel#onEmptySpaceMotionEvent(motionEvent: MotionEvent).

Fixes: 430341437
Test: activate remote input on a notification -> close it by clicking an
empy area
Flag: com.android.systemui.scene_container

Change-Id: I4557c79d8d6c33a615ab8d0fc78f4d4a969e9939
parent 3206178f
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1524,7 +1524,10 @@ public class CentralSurfacesImpl implements CoreStartable, CentralSurfaces {
    protected View.OnTouchListener getStatusBarWindowTouchListener() {
        return (v, event) -> {
            mAutoHideController.checkUserAutoHide(event);
            if (!SceneContainerFlag.isEnabled()) {
                // handled by SceneContainerViewModel#onEmptySpaceMotionEvent with SceneContainer
                mRemoteInputManager.checkRemoteInputOutside(event);
            }
            if (mQsController.isCustomizing()) {
                // When the user is editing QS tiles they need to be able to touch outside the
                // customizer to close it, such as on the status or nav bar.