diff options
author | Mike Lockwood <lockwood@android.com> | 2010-08-31 14:32:39 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-08-31 14:32:39 -0700 |
commit | f06a44995142696e5867c50c39be64c03157f5d3 (patch) | |
tree | abb3b7c5defefb0302c0db5962cc9f6b0ce641ab /core/java/android/provider | |
parent | f9806d4872569484c15deabf5a6909ce3b5ef2d8 (diff) | |
parent | 2837eefc5459427138c080d445bb491c75630163 (diff) | |
download | frameworks_base-f06a44995142696e5867c50c39be64c03157f5d3.zip frameworks_base-f06a44995142696e5867c50c39be64c03157f5d3.tar.gz frameworks_base-f06a44995142696e5867c50c39be64c03157f5d3.tar.bz2 |
Merge "MTP: Send an Intent after an MTP session that resulted in media database modifications"
Diffstat (limited to 'core/java/android/provider')
-rw-r--r-- | core/java/android/provider/Mtp.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/provider/Mtp.java b/core/java/android/provider/Mtp.java index 0eb53d1..e25dbad 100644 --- a/core/java/android/provider/Mtp.java +++ b/core/java/android/provider/Mtp.java @@ -34,6 +34,14 @@ public final class Mtp private static final String CONTENT_AUTHORITY_SLASH = "content://" + AUTHORITY + "/"; private static final String CONTENT_AUTHORITY_DEVICE_SLASH = "content://" + AUTHORITY + "/device/"; + + /** + * Broadcast Action: A broadcast to indicate the end of an MTP session with the host. + * This broadcast is only sent if MTP activity has modified the media database during the + * most recent MTP session + */ + public static final String ACTION_MTP_SESSION_END = "android.provider.action.MTP_SESSION_END"; + /** * Contains list of all MTP/PTP devices */ |