summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2010-01-07 10:39:41 -0800
committerSan Mehat <san@google.com>2010-01-07 10:39:41 -0800
commit91c7761139c0931da0fcbc89bce38cee4b9cc535 (patch)
tree419569199c5eca8f69997de4967629fbacf92a14 /core
parent1a8eec69e164cbac2bbe97828e2839e8c2a62bd8 (diff)
downloadframeworks_base-91c7761139c0931da0fcbc89bce38cee4b9cc535.zip
frameworks_base-91c7761139c0931da0fcbc89bce38cee4b9cc535.tar.gz
frameworks_base-91c7761139c0931da0fcbc89bce38cee4b9cc535.tar.bz2
MountService: Add an ACTION_SHUTDOWN handler and export a method for external shutdown
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'core')
-rw-r--r--core/java/android/os/IMountService.aidl6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/os/IMountService.aidl b/core/java/android/os/IMountService.aidl
index 1ea7200..2f60c34 100644
--- a/core/java/android/os/IMountService.aidl
+++ b/core/java/android/os/IMountService.aidl
@@ -115,4 +115,10 @@ interface IMountService
*/
String[] getSecureCacheList();
+ /**
+ * Shuts down the MountService and gracefully unmounts
+ * all external media.
+ */
+ void shutdown();
+
}