am 5afe5288: am 4d0b9aba: Merge "Fix clearApplicationUserData() to allow a null observer" into klp-dev

* commit '5afe5288a60a5264efb1e6979a065351482b1a18':
  Fix clearApplicationUserData() to allow a null observer
This commit is contained in:
Christopher Tate
2013-09-09 14:33:43 -07:00
committed by Android Git Automerger

View File

@@ -3377,7 +3377,7 @@ class ActivityManagerProxy implements IActivityManager
Parcel reply = Parcel.obtain();
data.writeInterfaceToken(IActivityManager.descriptor);
data.writeString(packageName);
data.writeStrongBinder(observer.asBinder());
data.writeStrongBinder((observer != null) ? observer.asBinder() : null);
data.writeInt(userId);
mRemote.transact(CLEAR_APP_DATA_TRANSACTION, data, reply, 0);
reply.readException();