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

Commit deb0d11a authored by Dan Sandler's avatar Dan Sandler
Browse files

Fix screenshots.

Bug: 16861182
Change-Id: I9433cb4a5cc100d85f06eeed18ade3ead5ba8188
parent 04e5f72c
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;