summaryrefslogtreecommitdiff
path: root/core/java/android/content/ContentValues.java
diff options
context:
space:
mode:
authorMathew Inwood <mathewi@google.com>2018-08-14 14:06:26 +0100
committerMathew Inwood <mathewi@google.com>2018-08-15 09:59:43 +0100
commit1c77a11db2bb9fe3f848aaa35ba501930ae3544f (patch)
tree45da53c45e3696b895be8f5224b2013bbe734ec9 /core/java/android/content/ContentValues.java
parent3683071fe2d1c4d76a91b9e6bc436adfb31dfd06 (diff)
Add @UnsupportedAppUsage annotations
For packages: android.content.res android.content.pm.split android.content.pm.permission android.content.pm.dex android.content.pm android.content.om android.content This is an automatically generated CL. See go/UnsupportedAppUsage for more details. Exempted-From-Owner-Approval: Mechanical changes to the codebase which have been approved by Android API council and announced on android-eng@ Bug: 110868826 Test: m Change-Id: Ie932bb108f8e21aad8576e444d43e7a553a4d128 Merged-In: Ia79256a3d04e16dd78331a61af0dcddc5fc1599b
Diffstat (limited to 'core/java/android/content/ContentValues.java')
-rw-r--r--core/java/android/content/ContentValues.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/java/android/content/ContentValues.java b/core/java/android/content/ContentValues.java
index 6f9379890a3a..54857bb55f2e 100644
--- a/core/java/android/content/ContentValues.java
+++ b/core/java/android/content/ContentValues.java
@@ -16,6 +16,7 @@
package android.content;
+import android.annotation.UnsupportedAppUsage;
import android.os.Parcel;
import android.os.Parcelable;
import android.util.Log;
@@ -33,6 +34,7 @@ public final class ContentValues implements Parcelable {
public static final String TAG = "ContentValues";
/** Holds the actual values */
+ @UnsupportedAppUsage
private HashMap<String, Object> mValues;
/**
@@ -69,6 +71,7 @@ public final class ContentValues implements Parcelable {
* @param values the values to start with
* {@hide}
*/
+ @UnsupportedAppUsage
private ContentValues(HashMap<String, Object> values) {
mValues = values;
}
@@ -502,6 +505,7 @@ public final class ContentValues implements Parcelable {
* {@hide}
*/
@Deprecated
+ @UnsupportedAppUsage
public void putStringArrayList(String key, ArrayList<String> value) {
mValues.put(key, value);
}
@@ -512,6 +516,7 @@ public final class ContentValues implements Parcelable {
*/
@SuppressWarnings("unchecked")
@Deprecated
+ @UnsupportedAppUsage
public ArrayList<String> getStringArrayList(String key) {
return (ArrayList<String>) mValues.get(key);
}