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

Commit c3c22399 authored by Adrian Roos's avatar Adrian Roos Committed by Android Git Automerger
Browse files

am 4816e1c5: am a7065ea3: am c3642ef5: Merge "Revert "Add overscan insets to...

am 4816e1c5: am a7065ea3: am c3642ef5: Merge "Revert "Add overscan insets to surface frame dimensions in WallpaperService."" into lmp-mr1-dev

* commit '4816e1c5':
  Revert "Add overscan insets to surface frame dimensions in WallpaperService."
parents 0b85b9d2 4816e1c5
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() + mOverscanInsets.left + mOverscanInsets.right;
                    int h = mWinFrame.height() + mOverscanInsets.top + mOverscanInsets.bottom;
                    int w = mWinFrame.width();
                    int h = mWinFrame.height();

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