Merge "Change to new binder implementation for OBB" into gingerbread
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;
|
Parcel data, reply;
|
||||||
data.writeInterfaceToken(IMountService::getInterfaceDescriptor());
|
data.writeInterfaceToken(IMountService::getInterfaceDescriptor());
|
||||||
data.writeString16(filename);
|
data.writeString16(filename);
|
||||||
data.writeInt32(force ? 1 : 0);
|
data.writeInt32(force ? 1 : 0);
|
||||||
|
data.writeStrongBinder(token->asBinder());
|
||||||
|
data.writeInt32(nonce);
|
||||||
if (remote()->transact(TRANSACTION_unmountObb, data, &reply) != NO_ERROR) {
|
if (remote()->transact(TRANSACTION_unmountObb, data, &reply) != NO_ERROR) {
|
||||||
LOGD("unmountObb could not contact remote\n");
|
LOGD("unmountObb could not contact remote\n");
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user