Loading core/java/android/app/ActivityManagerNative.java +4 −5 Original line number Original line Diff line number Diff line Loading @@ -2307,7 +2307,7 @@ public abstract class ActivityManagerNative extends Binder implements IActivityM case KEYGUARD_GOING_AWAY_TRANSACTION: { case KEYGUARD_GOING_AWAY_TRANSACTION: { data.enforceInterface(IActivityManager.descriptor); data.enforceInterface(IActivityManager.descriptor); keyguardGoingAway(data.readInt() != 0, data.readInt() != 0); keyguardGoingAway(data.readInt()); reply.writeNoException(); reply.writeNoException(); return true; return true; } } Loading Loading @@ -5924,13 +5924,12 @@ class ActivityManagerProxy implements IActivityManager reply.recycle(); reply.recycle(); } } public void keyguardGoingAway(boolean disableWindowAnimations, public void keyguardGoingAway(int flags) boolean keyguardGoingToNotificationShade) throws RemoteException { throws RemoteException { Parcel data = Parcel.obtain(); Parcel data = Parcel.obtain(); Parcel reply = Parcel.obtain(); Parcel reply = Parcel.obtain(); data.writeInterfaceToken(IActivityManager.descriptor); data.writeInterfaceToken(IActivityManager.descriptor); data.writeInt(disableWindowAnimations ? 1 : 0); data.writeInt(flags); data.writeInt(keyguardGoingToNotificationShade ? 1 : 0); mRemote.transact(KEYGUARD_GOING_AWAY_TRANSACTION, data, reply, 0); mRemote.transact(KEYGUARD_GOING_AWAY_TRANSACTION, data, reply, 0); reply.readException(); reply.readException(); data.recycle(); data.recycle(); Loading core/java/android/app/IActivityManager.java +7 −2 Original line number Original line Diff line number Diff line Loading @@ -475,8 +475,13 @@ public interface IActivityManager extends IInterface { public void keyguardWaitingForActivityDrawn() throws RemoteException; public void keyguardWaitingForActivityDrawn() throws RemoteException; public void keyguardGoingAway(boolean disableWindowAnimations, /** boolean keyguardGoingToNotificationShade) throws RemoteException; * Notify the system that the keyguard is going away. * * @param flags See {@link android.view.WindowManagerPolicy#KEYGUARD_GOING_AWAY_FLAG_TO_SHADE} * etc. */ public void keyguardGoingAway(int flags) throws RemoteException; public boolean shouldUpRecreateTask(IBinder token, String destAffinity) public boolean shouldUpRecreateTask(IBinder token, String destAffinity) throws RemoteException; throws RemoteException; Loading core/java/android/view/IWindowManager.aidl +1 −2 Original line number Original line Diff line number Diff line Loading @@ -193,8 +193,7 @@ interface IWindowManager boolean isKeyguardSecure(); boolean isKeyguardSecure(); boolean inKeyguardRestrictedInputMode(); boolean inKeyguardRestrictedInputMode(); void dismissKeyguard(); void dismissKeyguard(); void keyguardGoingAway(boolean disableWindowAnimations, void keyguardGoingAway(int flags); boolean keyguardGoingToNotificationShade); void closeSystemDialogs(String reason); void closeSystemDialogs(String reason); Loading core/java/android/view/WindowManagerPolicy.java +5 −0 Original line number Original line Diff line number Diff line Loading @@ -91,6 +91,11 @@ public interface WindowManagerPolicy { public final static int FLAG_INTERACTIVE = 0x20000000; public final static int FLAG_INTERACTIVE = 0x20000000; public final static int FLAG_PASS_TO_USER = 0x40000000; public final static int FLAG_PASS_TO_USER = 0x40000000; // Flags for IActivityManager.keyguardGoingAway() public final static int KEYGUARD_GOING_AWAY_FLAG_TO_SHADE = 1 << 0; public final static int KEYGUARD_GOING_AWAY_FLAG_NO_WINDOW_ANIMATIONS = 1 << 1; public final static int KEYGUARD_GOING_AWAY_FLAG_WITH_WALLPAPER = 1 << 2; // Flags used for indicating whether the internal and/or external input devices // Flags used for indicating whether the internal and/or external input devices // of some type are available. // of some type are available. public final static int PRESENCE_INTERNAL = 1 << 0; public final static int PRESENCE_INTERNAL = 1 << 0; Loading core/res/res/anim/lock_screen_behind_enter.xml +0 −1 Original line number Original line Diff line number Diff line Loading @@ -16,7 +16,6 @@ --> --> <set xmlns:android="http://schemas.android.com/apk/res/android" <set xmlns:android="http://schemas.android.com/apk/res/android" android:background="#ff000000" android:detachWallpaper="true" android:detachWallpaper="true" android:shareInterpolator="false" android:shareInterpolator="false" android:startOffset="100"> android:startOffset="100"> Loading Loading
core/java/android/app/ActivityManagerNative.java +4 −5 Original line number Original line Diff line number Diff line Loading @@ -2307,7 +2307,7 @@ public abstract class ActivityManagerNative extends Binder implements IActivityM case KEYGUARD_GOING_AWAY_TRANSACTION: { case KEYGUARD_GOING_AWAY_TRANSACTION: { data.enforceInterface(IActivityManager.descriptor); data.enforceInterface(IActivityManager.descriptor); keyguardGoingAway(data.readInt() != 0, data.readInt() != 0); keyguardGoingAway(data.readInt()); reply.writeNoException(); reply.writeNoException(); return true; return true; } } Loading Loading @@ -5924,13 +5924,12 @@ class ActivityManagerProxy implements IActivityManager reply.recycle(); reply.recycle(); } } public void keyguardGoingAway(boolean disableWindowAnimations, public void keyguardGoingAway(int flags) boolean keyguardGoingToNotificationShade) throws RemoteException { throws RemoteException { Parcel data = Parcel.obtain(); Parcel data = Parcel.obtain(); Parcel reply = Parcel.obtain(); Parcel reply = Parcel.obtain(); data.writeInterfaceToken(IActivityManager.descriptor); data.writeInterfaceToken(IActivityManager.descriptor); data.writeInt(disableWindowAnimations ? 1 : 0); data.writeInt(flags); data.writeInt(keyguardGoingToNotificationShade ? 1 : 0); mRemote.transact(KEYGUARD_GOING_AWAY_TRANSACTION, data, reply, 0); mRemote.transact(KEYGUARD_GOING_AWAY_TRANSACTION, data, reply, 0); reply.readException(); reply.readException(); data.recycle(); data.recycle(); Loading
core/java/android/app/IActivityManager.java +7 −2 Original line number Original line Diff line number Diff line Loading @@ -475,8 +475,13 @@ public interface IActivityManager extends IInterface { public void keyguardWaitingForActivityDrawn() throws RemoteException; public void keyguardWaitingForActivityDrawn() throws RemoteException; public void keyguardGoingAway(boolean disableWindowAnimations, /** boolean keyguardGoingToNotificationShade) throws RemoteException; * Notify the system that the keyguard is going away. * * @param flags See {@link android.view.WindowManagerPolicy#KEYGUARD_GOING_AWAY_FLAG_TO_SHADE} * etc. */ public void keyguardGoingAway(int flags) throws RemoteException; public boolean shouldUpRecreateTask(IBinder token, String destAffinity) public boolean shouldUpRecreateTask(IBinder token, String destAffinity) throws RemoteException; throws RemoteException; Loading
core/java/android/view/IWindowManager.aidl +1 −2 Original line number Original line Diff line number Diff line Loading @@ -193,8 +193,7 @@ interface IWindowManager boolean isKeyguardSecure(); boolean isKeyguardSecure(); boolean inKeyguardRestrictedInputMode(); boolean inKeyguardRestrictedInputMode(); void dismissKeyguard(); void dismissKeyguard(); void keyguardGoingAway(boolean disableWindowAnimations, void keyguardGoingAway(int flags); boolean keyguardGoingToNotificationShade); void closeSystemDialogs(String reason); void closeSystemDialogs(String reason); Loading
core/java/android/view/WindowManagerPolicy.java +5 −0 Original line number Original line Diff line number Diff line Loading @@ -91,6 +91,11 @@ public interface WindowManagerPolicy { public final static int FLAG_INTERACTIVE = 0x20000000; public final static int FLAG_INTERACTIVE = 0x20000000; public final static int FLAG_PASS_TO_USER = 0x40000000; public final static int FLAG_PASS_TO_USER = 0x40000000; // Flags for IActivityManager.keyguardGoingAway() public final static int KEYGUARD_GOING_AWAY_FLAG_TO_SHADE = 1 << 0; public final static int KEYGUARD_GOING_AWAY_FLAG_NO_WINDOW_ANIMATIONS = 1 << 1; public final static int KEYGUARD_GOING_AWAY_FLAG_WITH_WALLPAPER = 1 << 2; // Flags used for indicating whether the internal and/or external input devices // Flags used for indicating whether the internal and/or external input devices // of some type are available. // of some type are available. public final static int PRESENCE_INTERNAL = 1 << 0; public final static int PRESENCE_INTERNAL = 1 << 0; Loading
core/res/res/anim/lock_screen_behind_enter.xml +0 −1 Original line number Original line Diff line number Diff line Loading @@ -16,7 +16,6 @@ --> --> <set xmlns:android="http://schemas.android.com/apk/res/android" <set xmlns:android="http://schemas.android.com/apk/res/android" android:background="#ff000000" android:detachWallpaper="true" android:detachWallpaper="true" android:shareInterpolator="false" android:shareInterpolator="false" android:startOffset="100"> android:startOffset="100"> Loading