Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bf37f650 authored by WoongKi Min's avatar WoongKi Min
Browse files

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
parent 3ea732de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment