Enable compositor shadows for PIP

Exercise some of the code path while we wait for system health reviews to be finalized.

Test: go/wm-smoke
Change-Id: Ifddd2286ade9683a7d34a74e9075549f9605fa0b
This commit is contained in:
Vishnu Nair
2020-02-14 13:20:20 -08:00
parent fd6fb67466
commit 1f03c5017a
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}
/**

View File

@@ -887,7 +887,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;