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

Commit c56b8800 authored by Ioana Alexandru's avatar Ioana Alexandru
Browse files

Fall back to small icon when AppIconProvider throws

The PromotedNotificationContentExtractor is passing in the SystemUI
context instead of the app context to fetch icons, which leads to
NameNotFoundException being thrown if the app is not installed in the
main profile. This is a temporary workaround to just fall back to the
small icon for AOD RONs when that happens.

Fix: 414830446
Flag: android.app.ui_rich_ongoing
Test: manual, install Notify only on work profile and post a RON; verify it doesn't crash
Change-Id: I30829c33196a807efe806f421418e654400c1e2b
parent 495128ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment