Loading packages/SystemUI/src/com/android/systemui/keyguard/KeyguardService.java +7 −2 Original line number Diff line number Diff line Loading @@ -149,9 +149,14 @@ public class KeyguardService extends Service { RemoteAnimationTarget[] wallpapers, RemoteAnimationTarget[] nonApps, IRemoteAnimationFinishedCallback finishedCallback) { // TODO(bc-unlock): Calls KeyguardViewMediator#setOccluded to update the state and // run animation. try { if (transit == TRANSIT_OLD_KEYGUARD_OCCLUDE) { mBinder.setOccluded(true /* isOccluded */, true /* animate */); } else if (transit == TRANSIT_OLD_KEYGUARD_UNOCCLUDE) { mBinder.setOccluded(false /* isOccluded */, true /* animate */); } // TODO(bc-unlock): Implement occlude/unocclude animation applied on apps, // wallpapers and nonApps. finishedCallback.onAnimationFinished(); } catch (RemoteException e) { Slog.e(TAG, "RemoteException"); Loading services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java +5 −1 Original line number Diff line number Diff line Loading @@ -258,8 +258,12 @@ public class KeyguardServiceDelegate { } } /** * @deprecated Notify occlude status change via remote animation. */ @Deprecated public void setOccluded(boolean isOccluded, boolean animate) { if (mKeyguardService != null) { if (!WindowManagerService.sEnableRemoteKeyguardAnimation && mKeyguardService != null) { if (DEBUG) Log.v(TAG, "setOccluded(" + isOccluded + ") animate=" + animate); mKeyguardService.setOccluded(isOccluded, animate); } Loading Loading
packages/SystemUI/src/com/android/systemui/keyguard/KeyguardService.java +7 −2 Original line number Diff line number Diff line Loading @@ -149,9 +149,14 @@ public class KeyguardService extends Service { RemoteAnimationTarget[] wallpapers, RemoteAnimationTarget[] nonApps, IRemoteAnimationFinishedCallback finishedCallback) { // TODO(bc-unlock): Calls KeyguardViewMediator#setOccluded to update the state and // run animation. try { if (transit == TRANSIT_OLD_KEYGUARD_OCCLUDE) { mBinder.setOccluded(true /* isOccluded */, true /* animate */); } else if (transit == TRANSIT_OLD_KEYGUARD_UNOCCLUDE) { mBinder.setOccluded(false /* isOccluded */, true /* animate */); } // TODO(bc-unlock): Implement occlude/unocclude animation applied on apps, // wallpapers and nonApps. finishedCallback.onAnimationFinished(); } catch (RemoteException e) { Slog.e(TAG, "RemoteException"); Loading
services/core/java/com/android/server/policy/keyguard/KeyguardServiceDelegate.java +5 −1 Original line number Diff line number Diff line Loading @@ -258,8 +258,12 @@ public class KeyguardServiceDelegate { } } /** * @deprecated Notify occlude status change via remote animation. */ @Deprecated public void setOccluded(boolean isOccluded, boolean animate) { if (mKeyguardService != null) { if (!WindowManagerService.sEnableRemoteKeyguardAnimation && mKeyguardService != null) { if (DEBUG) Log.v(TAG, "setOccluded(" + isOccluded + ") animate=" + animate); mKeyguardService.setOccluded(isOccluded, animate); } Loading