diff options
| author | 2018-10-18 15:12:06 -0700 | |
|---|---|---|
| committer | 2018-10-18 15:12:06 -0700 | |
| commit | aa0d977f6fe686decb8b4a5c4bded7f100d897d5 (patch) | |
| tree | 66ca87f2ab1a300dd3b9a1a999959aa93a9098fc | |
| parent | 0453359d7df70f233e0ecfc7472cfa4e06b15fda (diff) | |
| parent | 65240e82291afba70def3d367b059c4f5db6ad51 (diff) | |
Merge "Add entries to hidden api greylist" am: 7d044566c6 am: be42ec18df
am: 65240e8229
Change-Id: Ic085da7cd80379633706b890a320473974ac8e14
| -rw-r--r-- | core/java/com/google/android/collect/Lists.java | 2 | ||||
| -rw-r--r-- | core/java/com/google/android/collect/Maps.java | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/core/java/com/google/android/collect/Lists.java b/core/java/com/google/android/collect/Lists.java index c029bb20d24c..3ea873bbb0f9 100644 --- a/core/java/com/google/android/collect/Lists.java +++ b/core/java/com/google/android/collect/Lists.java @@ -16,6 +16,7 @@ package com.google.android.collect; +import android.annotation.UnsupportedAppUsage; import java.util.ArrayList; import java.util.Collections; @@ -33,6 +34,7 @@ public class Lists { * * @return a newly-created, initially-empty {@code ArrayList} */ + @UnsupportedAppUsage public static <E> ArrayList<E> newArrayList() { return new ArrayList<E>(); } diff --git a/core/java/com/google/android/collect/Maps.java b/core/java/com/google/android/collect/Maps.java index fc2c9feb8068..6ba33207631a 100644 --- a/core/java/com/google/android/collect/Maps.java +++ b/core/java/com/google/android/collect/Maps.java @@ -16,6 +16,7 @@ package com.google.android.collect; +import android.annotation.UnsupportedAppUsage; import android.util.ArrayMap; import java.util.HashMap; @@ -29,6 +30,7 @@ public class Maps { * * @return a newly-created, initially-empty {@code HashMap} */ + @UnsupportedAppUsage public static <K, V> HashMap<K, V> newHashMap() { return new HashMap<K, V>(); } |