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

Commit 2531b787 authored by Dan Sandler's avatar Dan Sandler Committed by Android Git Automerger
Browse files

am 78688688: Merge "Fix screenshots." into lmp-dev

* commit '7868868812a8c383476fa8d2997f3acb3bde5865':
  Fix screenshots.
parents e901a154 a909b28a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -429,6 +429,9 @@ class GlobalScreenshot {
        try {
            panelWidth = r.getDimensionPixelSize(R.dimen.notification_panel_width);
        } catch (Resources.NotFoundException e) {
        }
        if (panelWidth <= 0) {
            // includes notification_panel_width==match_parent (-1)
            panelWidth = mDisplayMetrics.widthPixels;
        }
        mPreviewWidth = panelWidth;