Merge "Enable compositor shadows for PIP"
This commit is contained in:
committed by
Android (Google) Code Review
commit
df0edf1aac
@@ -335,7 +335,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
|
||||
super(context);
|
||||
mLayoutInflater = LayoutInflater.from(context);
|
||||
mRenderShadowsInCompositor = Settings.Global.getInt(context.getContentResolver(),
|
||||
DEVELOPMENT_RENDER_SHADOWS_IN_COMPOSITOR, 0) != 0;
|
||||
DEVELOPMENT_RENDER_SHADOWS_IN_COMPOSITOR, 1) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -912,7 +912,7 @@ public class WindowManagerService extends IWindowManager.Stub
|
||||
|
||||
private void setShadowRenderer() {
|
||||
mRenderShadowsInCompositor = Settings.Global.getInt(mContext.getContentResolver(),
|
||||
DEVELOPMENT_RENDER_SHADOWS_IN_COMPOSITOR, 0) != 0;
|
||||
DEVELOPMENT_RENDER_SHADOWS_IN_COMPOSITOR, 1) != 0;
|
||||
}
|
||||
|
||||
PowerManager mPowerManager;
|
||||
|
||||
Reference in New Issue
Block a user