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

* commit 'c3642ef5c8582193f26b3875cebd902253709d5e':
  Revert "Add overscan insets to surface frame dimensions in WallpaperService."
This commit is contained in:
Adrian Roos
2014-12-09 18:52:13 +00:00
committed by Android Git Automerger

View File

@@ -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;