summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author WoongKi Min <wk0831.min@samsung.com> 2022-08-25 17:10:53 +0900
committer WoongKi Min <wk0831.min@samsung.com> 2022-09-02 00:39:01 +0900
commitbf37f65092e1feb877c01fa0062e836ea41bb933 (patch)
tree902837648d9ad11d6c25e5ebe10365a0721a8aa5 /libs/androidfw/StringPool.cpp
parent3ea732de43b78cea17378ca6b747c026ac506e89 (diff)
Prevent FGS notification from exceeding allowed
As only the FGS flag is removed by removeForegroundServiceFlagFromNotification, it exceeds the package limit(MAX_PACKAGE_NOTIFICATIONS). And eventually OutOfMemory occurs and the device is reset. When the flag is removed, check in the same way the normal notification to prevent problems. Test: Searching for images in the Chrome browser Test: Download more than 50 images Test: Check NotificationRecord count in Notification dump Change-Id: Iacbc3a3e545f62d15bae5245ebcf6ed47f5c83a8
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions