Fix bigPicture test breakage
It seems that bitmap allocations vary by platform, this uses the value reported by Bitmap class. Bug: 251756002 Test: atest NotificationMemoryMonitorTest Change-Id: I604d28936858bc0cba5f09fd79aff47b49a9a5e4
This commit is contained in:
@@ -148,7 +148,7 @@ class NotificationMemoryMonitorTest : SysuiTestCase() {
|
||||
smallIcon = notification.smallIcon.bitmap.allocationByteCount,
|
||||
largeIcon = notification.getLargeIcon().bitmap.allocationByteCount,
|
||||
extras = 4092,
|
||||
bigPicture = 960000,
|
||||
bigPicture = bigPicture.bitmap.allocationByteCount,
|
||||
extender = 0,
|
||||
style = "BigPictureStyle",
|
||||
styleIcon = bigPictureIcon.bitmap.allocationByteCount,
|
||||
|
||||
Reference in New Issue
Block a user