diff options
| author | 2022-10-14 14:25:14 -0700 | |
|---|---|---|
| committer | 2022-11-21 20:44:46 +0000 | |
| commit | 2db19d26c9372e83b04509e836a455185aaaaef8 (patch) | |
| tree | d41c57967581b2fc968fa23100d068a249629cc3 /libs/androidfw/StringPool.cpp | |
| parent | 489bdd0de491bd0a13b1e1aac921fe06bbd8f43e (diff) | |
Improve display name to avoid callback when it did not change
Update the caller display name only if the name actually changed.
This avoids excessive computations on the receiver end as apps such
as dialer listen to these changes and rebuild UI models when they
change.
Defer-CP-To-TM: 240341306
Bug: 240341306
Test: Manual logs to verify callback triggers only when changed.
Test: atest CallDetailsTest
Change-Id: I1c81049240042232ca5c3efa9a75ce2ef2de1829
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions