Loading core/java/android/widget/RemoteViews.java +5 −1 Original line number Diff line number Diff line Loading @@ -9333,7 +9333,11 @@ public class RemoteViews implements Parcelable, Filter { Set<Integer> bitmapIdSet = getBitmapIdsUsedByActions(new HashSet<>()); int result = 0; for (int bitmapId: bitmapIdSet) { result += mBitmapCache.getBitmapForId(bitmapId).getAllocationByteCount(); Bitmap currentBitmap = mBitmapCache.getBitmapForId(bitmapId); if (currentBitmap == null) { continue; } result += currentBitmap.getAllocationByteCount(); } return result; Loading Loading
core/java/android/widget/RemoteViews.java +5 −1 Original line number Diff line number Diff line Loading @@ -9333,7 +9333,11 @@ public class RemoteViews implements Parcelable, Filter { Set<Integer> bitmapIdSet = getBitmapIdsUsedByActions(new HashSet<>()); int result = 0; for (int bitmapId: bitmapIdSet) { result += mBitmapCache.getBitmapForId(bitmapId).getAllocationByteCount(); Bitmap currentBitmap = mBitmapCache.getBitmapForId(bitmapId); if (currentBitmap == null) { continue; } result += currentBitmap.getAllocationByteCount(); } return result; Loading