summaryrefslogtreecommitdiffstats
path: root/include/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 /include/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 'include/storage')
-rw-r--r--include/storage/IMountService.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/storage/IMountService.h b/include/storage/IMountService.h
index a2735a4..436fc38 100644
--- a/include/storage/IMountService.h
+++ b/include/storage/IMountService.h
@@ -62,7 +62,8 @@ public:
virtual void finishMediaUpdate() = 0;
virtual void mountObb(const String16& filename, const String16& key,
const sp<IObbActionListener>& token) = 0;
- virtual void unmountObb(const String16& filename, const bool force) = 0;
+ virtual void unmountObb(const String16& filename, const bool force,
+ const sp<IObbActionListener>& token) = 0;
virtual bool isObbMounted(const String16& filename) = 0;
virtual bool getMountedObbPath(const String16& filename, String16& path) = 0;
};