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

Commit 75d222c8 authored by Svetoslav Ganov's avatar Svetoslav Ganov Committed by android-build-merger
Browse files

Fix an exception in PackageInstaller am: 4b1e2d8d

am: 798885ad

Change-Id: Ib2efcf84534268588386e45ed9bed09fbbe07145
parents 8da52f2d 798885ad
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) {