summaryrefslogtreecommitdiffstats
path: root/core/java/android/content/Intent.java
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2011-06-07 09:08:34 -0700
committerMike Lockwood <lockwood@android.com>2011-06-07 10:59:04 -0700
commitda85e524c7d2dc3b7524cddd12ad0461602a1cbb (patch)
tree3b625bf544933b7b3dc72dab4f6c8d6288a657fe /core/java/android/content/Intent.java
parentc321c19fc91bfec9a74039ed4d37b815dd4ef379 (diff)
downloadframeworks_base-da85e524c7d2dc3b7524cddd12ad0461602a1cbb.zip
frameworks_base-da85e524c7d2dc3b7524cddd12ad0461602a1cbb.tar.gz
frameworks_base-da85e524c7d2dc3b7524cddd12ad0461602a1cbb.tar.bz2
Deprecate Intent.ACTION_UMS_CONNECTED and Intent.ACTION_UMS_DISCONNECTED
Change-Id: I7261959462422cf241a46a5ada6fbd98d655db3d Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'core/java/android/content/Intent.java')
-rw-r--r--core/java/android/content/Intent.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java
index 3d637e9..18371da 100644
--- a/core/java/android/content/Intent.java
+++ b/core/java/android/content/Intent.java
@@ -1654,8 +1654,9 @@ public class Intent implements Parcelable, Cloneable {
* This is used mainly for the USB Settings panel.
* Apps should listen for ACTION_MEDIA_MOUNTED and ACTION_MEDIA_UNMOUNTED broadcasts to be notified
* when the SD card file system is mounted or unmounted
+ * @deprecated
*/
- @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
+ @Deprecated
public static final String ACTION_UMS_CONNECTED = "android.intent.action.UMS_CONNECTED";
/**
@@ -1663,8 +1664,9 @@ public class Intent implements Parcelable, Cloneable {
* This is used mainly for the USB Settings panel.
* Apps should listen for ACTION_MEDIA_MOUNTED and ACTION_MEDIA_UNMOUNTED broadcasts to be notified
* when the SD card file system is mounted or unmounted
+ * @deprecated
*/
- @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
+ @Deprecated
public static final String ACTION_UMS_DISCONNECTED = "android.intent.action.UMS_DISCONNECTED";
/**