am de846ac6
: Merge "Change to new binder implementation for OBB" into gingerbread
Merge commit 'de846ac659e8c14d898a3fa14bd0504b24096057' into gingerbread-plus-aosp * commit 'de846ac659e8c14d898a3fa14bd0504b24096057': Change to new binder implementation for OBB
This commit is contained in:
@ -449,12 +449,15 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void unmountObb(const String16& filename, const bool force)
|
||||
void unmountObb(const String16& filename, const bool force,
|
||||
const sp<IObbActionListener>& token, const int32_t nonce)
|
||||
{
|
||||
Parcel data, reply;
|
||||
data.writeInterfaceToken(IMountService::getInterfaceDescriptor());
|
||||
data.writeString16(filename);
|
||||
data.writeInt32(force ? 1 : 0);
|
||||
data.writeStrongBinder(token->asBinder());
|
||||
data.writeInt32(nonce);
|
||||
if (remote()->transact(TRANSACTION_unmountObb, data, &reply) != NO_ERROR) {
|
||||
LOGD("unmountObb could not contact remote\n");
|
||||
return;
|
||||
|
Reference in New Issue
Block a user