diff options
author | Kenny Root <kroot@google.com> | 2010-10-13 15:43:35 -0700 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2010-10-13 15:43:51 -0700 |
commit | 0a9b54e88b9cbb30748b5f0b331aec3f3ef8d639 (patch) | |
tree | 22ff1466c777067596537ccb085cd64ed0bc3bc5 /libs/storage | |
parent | 0726fd9e835579019f6b23ab50d7b45401e11dbe (diff) | |
parent | 8bb7a1dfbb43dda49fb3c4f86181bcd7f969a832 (diff) | |
download | frameworks_base-0a9b54e88b9cbb30748b5f0b331aec3f3ef8d639.zip frameworks_base-0a9b54e88b9cbb30748b5f0b331aec3f3ef8d639.tar.gz frameworks_base-0a9b54e88b9cbb30748b5f0b331aec3f3ef8d639.tar.bz2 |
resolved conflicts for merge of 8bb7a1df to master
Change-Id: Ieec036f494a54eab74a27b954d1423bf981dd3f9
Diffstat (limited to 'libs/storage')
-rw-r--r-- | libs/storage/IMountService.cpp | 5 | ||||
-rw-r--r-- | libs/storage/IObbActionListener.cpp | 7 |
2 files changed, 7 insertions, 5 deletions
diff --git a/libs/storage/IMountService.cpp b/libs/storage/IMountService.cpp index 17a961b..9d3749d 100644 --- a/libs/storage/IMountService.cpp +++ b/libs/storage/IMountService.cpp @@ -431,13 +431,14 @@ public: } void mountObb(const String16& filename, const String16& key, - const sp<IObbActionListener>& token) + const sp<IObbActionListener>& token, int32_t nonce) { Parcel data, reply; data.writeInterfaceToken(IMountService::getInterfaceDescriptor()); data.writeString16(filename); data.writeString16(key); data.writeStrongBinder(token->asBinder()); + data.writeInt32(nonce); if (remote()->transact(TRANSACTION_mountObb, data, &reply) != NO_ERROR) { LOGD("mountObb could not contact remote\n"); return; @@ -449,7 +450,7 @@ public: } } - void unmountObb(const String16& filename, const bool force, const sp<IObbActionListener>& token) + void unmountObb(const String16& filename, const bool force) { Parcel data, reply; data.writeInterfaceToken(IMountService::getInterfaceDescriptor()); diff --git a/libs/storage/IObbActionListener.cpp b/libs/storage/IObbActionListener.cpp index 5bfece7..eaa211e 100644 --- a/libs/storage/IObbActionListener.cpp +++ b/libs/storage/IObbActionListener.cpp @@ -30,7 +30,7 @@ public: : BpInterface<IObbActionListener>(impl) { } - virtual void onObbResult(const String16& filename, const String16& status) { } + virtual void onObbResult(const String16& filename, const int32_t nonce, const int32_t state) { } }; IMPLEMENT_META_INTERFACE(ObbActionListener, "IObbActionListener"); @@ -44,8 +44,9 @@ status_t BnObbActionListener::onTransact( case TRANSACTION_onObbResult: { CHECK_INTERFACE(IObbActionListener, data, reply); String16 filename = data.readString16(); - String16 state = data.readString16(); - onObbResult(filename, state); + int32_t nonce = data.readInt32(); + int32_t state = data.readInt32(); + onObbResult(filename, nonce, state); reply->writeNoException(); return NO_ERROR; } break; |