Save a few bytes on the zygote heap.
The default LongSparseArray constructor builds two 10-element arrays that we don't need. Change-Id: I83ef4fbd8825109087cbe8990ad66d79eab33e5c
This commit is contained in:
@@ -115,7 +115,7 @@ public class Resources {
|
||||
private CompatibilityInfo mCompatibilityInfo;
|
||||
private Display mDefaultDisplay;
|
||||
|
||||
private static final LongSparseArray<Object> EMPTY_ARRAY = new LongSparseArray<Object>() {
|
||||
private static final LongSparseArray<Object> EMPTY_ARRAY = new LongSparseArray<Object>(0) {
|
||||
@Override
|
||||
public void put(long k, Object o) {
|
||||
throw new UnsupportedOperationException();
|
||||
|
||||
Reference in New Issue
Block a user