commit | 2db19d26c9372e83b04509e836a455185aaaaef8 | [log] [tgz] |
---|---|---|
author | Edgar Arriaga <edgararriaga@google.com> | Fri Oct 14 14:25:14 2022 -0700 |
committer | Edgar Arriaga <edgararriaga@google.com> | Mon Nov 21 20:44:46 2022 +0000 |
tree | d41c57967581b2fc968fa23100d068a249629cc3 | |
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