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

Commit 798885ad authored by Svetoslav Ganov's avatar Svetoslav Ganov Committed by android-build-merger
Browse files

Fix an exception in PackageInstaller

am: 4b1e2d8d

Change-Id: Ied08d511e64a39b6e4851306294f1a3361502b78
parents 46442e52 4b1e2d8d
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -196,12 +196,14 @@ public class GrantPermissionsActivity extends OverlayTouchActivity
        // window height needed to show all content. We have to
        // re-add the window to force it to be resized if needed.
        View decor = getWindow().getDecorView();
        if (decor.getParent() != null) {
            getWindowManager().removeViewImmediate(decor);
            getWindowManager().addView(decor, decor.getLayoutParams());
            if (mViewHandler instanceof GrantPermissionsViewHandlerImpl) {
                ((GrantPermissionsViewHandlerImpl) mViewHandler).onConfigurationChanged();
            }
        }
    }

    @Override
    public boolean dispatchTouchEvent(MotionEvent ev) {