diff options
| author | 2025-02-10 14:57:43 -0500 | |
|---|---|---|
| committer | 2025-02-11 17:06:08 -0500 | |
| commit | 0d58af7336e44f0b35c3ad687649ba3ea9cf2b34 (patch) | |
| tree | ddc40e0da7241072be7430ec31c86a8b75cf8029 /libs/androidfw/AssetsProvider.cpp | |
| parent | ef74fc9767570d7d3d89bded8216392c8114acb4 (diff) | |
Add method to return all packages with any channels.
Used for Settings, where before this (and attached) change was generating the list of apps with any channels by calling getNumNotificationChannelsForPackage for each app in sequence. This reduces many binder calls to one per user.
Bug: 394614704
Test: PreferencesHelperTest
Flag: android.app.nm_binder_perf_get_apps_with_channels
Change-Id: Ieb40e378682a9f2950c4a3eb6c2a8637323e82b6
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions