diff options
| author | 2024-03-26 18:22:33 +0000 | |
|---|---|---|
| committer | 2024-05-06 19:05:03 +0000 | |
| commit | f2ec0341ccfee03a1e75a22c6505fc20b17ac768 (patch) | |
| tree | 6cf88b2c933be71d36f6459decea741612cb80dc /libs/androidfw/StringPool.cpp | |
| parent | 928a3c2adaab0adcf48c9ac87d8f83fda555b093 (diff) | |
Reduce RankingUpdate calls on autogroup
If a new notification is posted that should be autogrouped, we can add
the group key _before_ we do a ranking sort, so that we don't have to
re-sort after we modify the notification with the autogroup attribute.
This should reduce the number of onRankingUpdate calls sent unnecessarily.
Bug: 330214226
Test: atest NotificationManagerServiceTest, GroupHelperTest
Change-Id: I60949e9ce67efae48fefcc95e2056eb68f767554
Flag: ACONFIG android.app.check_autogroup_before_post DEVELOPMENT
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions