summaryrefslogtreecommitdiffstats
path: root/include/hardware_legacy/IMountService.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hardware_legacy/IMountService.h')
-rw-r--r--include/hardware_legacy/IMountService.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/hardware_legacy/IMountService.h b/include/hardware_legacy/IMountService.h
index 6737dcf..b956ec8 100644
--- a/include/hardware_legacy/IMountService.h
+++ b/include/hardware_legacy/IMountService.h
@@ -54,6 +54,21 @@ public:
* Safely unmount external storage at given mount point.
*/
virtual void unmountMedia(String16 mountPoint) = 0;
+
+ /**
+ * Format external storage at given mount point.
+ */
+ virtual void formatMedia(String16 mountPoint) = 0;
+
+ /**
+ * Returns true if we're playing media notification sounds.
+ */
+ virtual bool getPlayNotificationSounds() = 0;
+
+ /**
+ * Sets whether or not media notification sounds are played.
+ */
+ virtual void setPlayNotificationSounds(bool enabled) = 0;
};
// ----------------------------------------------------------------------