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

Commit a6b5c8e1 authored by Aayush Gupta's avatar Aayush Gupta
Browse files

Merge remote-tracking branch 'origin/lineage-18.1' into v1-r

parents c8f6305e b8404be7
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -404,7 +404,9 @@ public class GlobalScreenshot implements ViewTreeObserver.OnComputeInternalInset

    void hideScreenshotSelector() {
        setLockedScreenOrientation(false);
        if (mScreenshotLayout.getWindowToken() != null) {
            mWindowManager.removeView(mScreenshotLayout);
        }
        mScreenshotSelectorView.stopSelection();
        mScreenshotSelectorView.setVisibility(View.GONE);
        mCaptureButton.setVisibility(View.GONE);
@@ -1174,6 +1176,7 @@ public class GlobalScreenshot implements ViewTreeObserver.OnComputeInternalInset
        mActionsContainer.setTranslationY(0);
        mActionsContainerBackground.setTranslationY(0);
        mScreenshotPreview.setTranslationY(0);
        hideScreenshotSelector();
    }

    private void setAnimatedViewSize(int width, int height) {