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

Commit 35a2d360 authored by Filip Gruszczynski's avatar Filip Gruszczynski Committed by Android Git Automerger
Browse files

am 0821a566: am f675cad8: am 6e854ce5: Merge "Add overscan insets to surface...

am 0821a566: am f675cad8: am 6e854ce5: Merge "Add overscan insets to surface frame dimensions in WallpaperService." into lmp-sprout-dev

* commit '0821a566':
  Add overscan insets to surface frame dimensions in WallpaperService.
parents c0ab1086 0821a566
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -691,8 +691,8 @@ public abstract class WallpaperService extends Service {
                    if (DEBUG) Log.v(TAG, "New surface: " + mSurfaceHolder.mSurface
                            + ", frame=" + mWinFrame);
                    
                    int w = mWinFrame.width();
                    int h = mWinFrame.height();
                    int w = mWinFrame.width() + mOverscanInsets.left + mOverscanInsets.right;
                    int h = mWinFrame.height() + mOverscanInsets.top + mOverscanInsets.bottom;

                    if (!fixedSize) {
                        final Rect padding = mIWallpaperEngine.mDisplayPadding;