Merge "Call DecorView.drawableChanged() in PhoneWindow.setBackgroungDrawable" into rvc-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7ce178e6cb
@@ -1510,11 +1510,13 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
|
||||
if (drawable != mBackgroundDrawable) {
|
||||
mBackgroundDrawable = drawable;
|
||||
if (mDecor != null) {
|
||||
mDecor.startChanging();
|
||||
mDecor.setWindowBackground(drawable);
|
||||
if (mBackgroundFallbackDrawable != null) {
|
||||
mDecor.setBackgroundFallback(drawable != null ? null :
|
||||
mBackgroundFallbackDrawable);
|
||||
}
|
||||
mDecor.finishChanging();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user