summaryrefslogtreecommitdiffstats
path: root/libs/storage
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2010-09-22 17:29:43 -0700
committerKenny Root <kroot@google.com>2010-09-28 17:23:26 -0700
commit05105f7abe02b2dff91d6260b3628c8b97816bab (patch)
treef42676d818548d76b2c55045a1bcc4866d6feec1 /libs/storage
parentea2cf2f936b03f1720bc43863e41c89ea2a7903a (diff)
downloadframeworks_base-05105f7abe02b2dff91d6260b3628c8b97816bab.zip
frameworks_base-05105f7abe02b2dff91d6260b3628c8b97816bab.tar.gz
frameworks_base-05105f7abe02b2dff91d6260b3628c8b97816bab.tar.bz2
Update OBB API to include callbacks
Add a callback for users of the StorageManager API to be able to receive notifications when the requested operation completes for mountObb and unmountObb. Add NDK API to get to ObbInfo like the Java API has. Also update the docs for the API and remove the "STOPSHIP" comments. Change-Id: I23a4409c7f8b74d3169614beba920b4d667990a4
Diffstat (limited to 'libs/storage')
-rw-r--r--libs/storage/IMountService.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/storage/IMountService.cpp b/libs/storage/IMountService.cpp
index 902bb27..3ad9319 100644
--- a/libs/storage/IMountService.cpp
+++ b/libs/storage/IMountService.cpp
@@ -429,8 +429,8 @@ public:
reply.readExceptionCode();
}
- void mountObb(const String16& filename, const String16& key, const sp<
- IObbActionListener>& token)
+ void mountObb(const String16& filename, const String16& key,
+ const sp<IObbActionListener>& token)
{
Parcel data, reply;
data.writeInterfaceToken(IMountService::getInterfaceDescriptor());
@@ -448,7 +448,7 @@ public:
}
}
- void unmountObb(const String16& filename, const bool force)
+ void unmountObb(const String16& filename, const bool force, const sp<IObbActionListener>& token)
{
Parcel data, reply;
data.writeInterfaceToken(IMountService::getInterfaceDescriptor());