Revert "Pretend to be having the original background"
This reverts commit 1ab06de89f.
Bug: b/130586696
Reason for revert: b/130586696 This change causes a major breakage in Maps and blocks droidfood.
Change-Id: I50cde4865f48825b82f27087b8cac6e6527d6d95
This commit is contained in:
@@ -630,7 +630,7 @@ public class DecorView extends FrameLayout implements RootViewSurfaceTaker, Wind
|
||||
drawingBounds.bottom -= framePadding.bottom - frameOffsets.bottom;
|
||||
}
|
||||
|
||||
Drawable bg = super.getBackground();
|
||||
Drawable bg = getBackground();
|
||||
if (bg != null) {
|
||||
bg.setBounds(drawingBounds);
|
||||
}
|
||||
@@ -1238,11 +1238,6 @@ public class DecorView extends FrameLayout implements RootViewSurfaceTaker, Wind
|
||||
mLastOriginalBackgroundDrawable = mOriginalBackgroundDrawable;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Drawable getBackground() {
|
||||
return mOriginalBackgroundDrawable;
|
||||
}
|
||||
|
||||
private int calculateStatusBarColor() {
|
||||
return calculateBarColor(mWindow.getAttributes().flags, FLAG_TRANSLUCENT_STATUS,
|
||||
mSemiTransparentBarColor, mWindow.mStatusBarColor,
|
||||
|
||||
Reference in New Issue
Block a user