summaryrefslogtreecommitdiff
path: root/libs/storage/IMountService.cpp
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2010-10-11 17:31:06 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-10-11 17:31:06 -0700
commit8bb7a1dfbb43dda49fb3c4f86181bcd7f969a832 (patch)
tree0eb8b8355abedba7b083d5ef547893ed66d3d56a /libs/storage/IMountService.cpp
parent0ad4a77cb78348951c349ba92ec858bfb26aeb33 (diff)
parentb4de3dca96b9ff18562062e181dcd8b83e641e45 (diff)
am b4de3dca: Merge "OBB: rearrange to be entirely asynchronous" into gingerbread
Merge commit 'b4de3dca96b9ff18562062e181dcd8b83e641e45' into gingerbread-plus-aosp * commit 'b4de3dca96b9ff18562062e181dcd8b83e641e45': OBB: rearrange to be entirely asynchronous
Diffstat (limited to 'libs/storage/IMountService.cpp')
-rw-r--r--libs/storage/IMountService.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/storage/IMountService.cpp b/libs/storage/IMountService.cpp
index 3ad9319a8f35..f36e2a3225f7 100644
--- a/libs/storage/IMountService.cpp
+++ b/libs/storage/IMountService.cpp
@@ -430,13 +430,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;
@@ -448,7 +449,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());