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:
Jernej Virag
2022-10-07 12:57:41 +02:00
parent bf0f2b93b0
commit 703c2d8e44

View File

@@ -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,