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

Skip to content
Commit c41dcd7b authored by Yuri Lin's avatar Yuri Lin
Browse files

Always call getOrCreatePackagePreferences in getNotificationChannels

Once flag is on, we always call getOrCreatePackagePreferences when an app calls getNotificationChannels. This affects the overall behavior for a very small slice of apps (ones that qualify for shouldHaveDefaultChannel) in the specific time before the app has interacted with notification settings at all.

Bug: 381131846
Test: NotificationManagerTest, PreferencesHelperTest, presubmit
Flag: android.app.nm_binder_perf_cache_channels
Change-Id: Ie6e13edcf0c164feed8f5cf4dcd656ede82171e7
parent 4bd1fe00
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