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

Commit 764e7ac5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Animate out screenshot UI on back and CLOSE_SYSTEM_DIALOGS" into rvc-qpr-dev

parents 212cf8a8 d7bd2554
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -493,7 +493,7 @@ public class GlobalScreenshot implements ViewTreeObserver.OnComputeInternalInset
        });
        mScreenshotLayout.setOnKeyListener((v, keyCode, event) -> {
            if (keyCode == KeyEvent.KEYCODE_BACK) {
                dismissScreenshot("back pressed", true);
                dismissScreenshot("back pressed", false);
                return true;
            }
            return false;
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ public class TakeScreenshotService extends Service {
        @Override
        public void onReceive(Context context, Intent intent) {
            if (ACTION_CLOSE_SYSTEM_DIALOGS.equals(intent.getAction()) && mScreenshot != null) {
                mScreenshot.dismissScreenshot("close system dialogs", true);
                mScreenshot.dismissScreenshot("close system dialogs", false);
            }
        }
    };