Enable remote animation for keygaurd.

Bug: 166736690
Test: Pass existing tests.
Change-Id: Ibff1c8ae6fe8800d5bac49b5f9de4350598ca3f0
This commit is contained in:
Issei Suzuki
2021-03-10 11:50:49 +01:00
parent 9934a78d47
commit edcdd961d9
2 changed files with 2 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ public class KeyguardService extends Service {
* @see #ENABLE_REMOTE_KEYGUARD_ANIMATION_PROPERTY
*/
private static boolean sEnableRemoteKeyguardAnimation =
SystemProperties.getBoolean(ENABLE_REMOTE_KEYGUARD_ANIMATION_PROPERTY, false);
SystemProperties.getBoolean(ENABLE_REMOTE_KEYGUARD_ANIMATION_PROPERTY, true);
private final KeyguardViewMediator mKeyguardViewMediator;
private final KeyguardLifecyclesDispatcher mKeyguardLifecyclesDispatcher;

View File

@@ -437,7 +437,7 @@ public class WindowManagerService extends IWindowManager.Stub
* @see #ENABLE_REMOTE_KEYGUARD_ANIMATION_PROPERTY
*/
public static boolean sEnableRemoteKeyguardAnimation =
SystemProperties.getBoolean(ENABLE_REMOTE_KEYGUARD_ANIMATION_PROPERTY, false);
SystemProperties.getBoolean(ENABLE_REMOTE_KEYGUARD_ANIMATION_PROPERTY, true);
private static final String DISABLE_TRIPLE_BUFFERING_PROPERTY =
"ro.sf.disable_triple_buffer";