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

Commit 065fbb20 authored by Svetoslav Ganov's avatar Svetoslav Ganov Committed by android-build-merger
Browse files

Fix an exception in PackageInstaller am: 4b1e2d8d am: 798885ad

am: 75d222c8

Change-Id: I7f3e30d6f799f5bbf5efa9df68f13660a2b28f9e
parents 887da759 75d222c8
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -215,12 +215,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) {