diff options
| author | Craig Mautner <cmautner@google.com> | 2014-09-10 21:33:42 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-09-10 21:33:43 +0000 |
| commit | ebcd9189e3ec3cc7321883b4a2ca1c76da52eff7 (patch) | |
| tree | 4594a6b92c2a67109f3d2ed94cf66123facc07b0 /core/java/android/app/ActivityManagerNative.java | |
| parent | 23a7a394f56a11ae53f1a79eb87f19ca5087c121 (diff) | |
| parent | 6e2f395a86d557d2de4b52dda419a5f3eee00c84 (diff) | |
| download | frameworks_base-ebcd9189e3ec3cc7321883b4a2ca1c76da52eff7.zip frameworks_base-ebcd9189e3ec3cc7321883b4a2ca1c76da52eff7.tar.gz frameworks_base-ebcd9189e3ec3cc7321883b4a2ca1c76da52eff7.tar.bz2 | |
Merge "Wait for animation complete before completing boot" into lmp-dev
Diffstat (limited to 'core/java/android/app/ActivityManagerNative.java')
| -rw-r--r-- | core/java/android/app/ActivityManagerNative.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/core/java/android/app/ActivityManagerNative.java b/core/java/android/app/ActivityManagerNative.java index 394b183..677fcef 100644 --- a/core/java/android/app/ActivityManagerNative.java +++ b/core/java/android/app/ActivityManagerNative.java @@ -2295,6 +2295,13 @@ public abstract class ActivityManagerNative extends Binder implements IActivityM reply.writeNoException(); return true; } + + case BOOT_ANIMATION_COMPLETE_TRANSACTION: { + data.enforceInterface(IActivityManager.descriptor); + bootAnimationComplete(); + reply.writeNoException(); + return true; + } } return super.onTransact(code, data, reply, flags); @@ -5301,5 +5308,16 @@ class ActivityManagerProxy implements IActivityManager reply.recycle(); } + @Override + public void bootAnimationComplete() throws RemoteException { + Parcel data = Parcel.obtain(); + Parcel reply = Parcel.obtain(); + data.writeInterfaceToken(IActivityManager.descriptor); + mRemote.transact(BOOT_ANIMATION_COMPLETE_TRANSACTION, data, reply, 0); + reply.readException(); + data.recycle(); + reply.recycle(); + } + private IBinder mRemote; } |
