Merge "Add entries to hidden api greylist"
This commit is contained in:
@@ -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>();
|
||||
}
|
||||
|
||||
@@ -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>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user