Merge "Revert "Pretend to be having the original background"" into qt-dev
am: de1383f434
Change-Id: I35ee4d731db51b7bad4cce59588f5217f268be92
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