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

Commit 6179126d authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Fix 2233444 (No IME).

Fix the flags for the StatusBarExpanded window that were causing the Window Manager to
think that it needed input.
parent ed564b31
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -952,6 +952,7 @@ public class StatusBarService extends IStatusBar.Stub
        
        updateExpandedViewPos(EXPANDED_LEAVE_ALONE);
        mExpandedParams.flags &= ~WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE;
        mExpandedParams.flags |= WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM;
        mExpandedDialog.getWindow().setAttributes(mExpandedParams);
        mExpandedView.requestFocus(View.FOCUS_FORWARD);
        mTrackingView.setVisibility(View.VISIBLE);
@@ -1030,6 +1031,7 @@ public class StatusBarService extends IStatusBar.Stub
        mExpandedVisible = false;
        panelSlightlyVisible(false);
        mExpandedParams.flags |= WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE;
        mExpandedParams.flags &= ~WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM;
        mExpandedDialog.getWindow().setAttributes(mExpandedParams);
        mTrackingView.setVisibility(View.GONE);

@@ -1522,7 +1524,6 @@ public class StatusBarService extends IStatusBar.Stub
        lp.flags = WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN
                | WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS
                | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL
                | WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM
                | WindowManager.LayoutParams.FLAG_DITHER
                | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE;
        lp.format = pixelFormat;