diff options
author | Tyler Gunn <tgunn@google.com> | 2015-08-19 11:18:58 -0700 |
---|---|---|
committer | Tyler Gunn <tgunn@google.com> | 2015-08-19 20:52:13 +0000 |
commit | 1e9bfc6461d3fe5455c9d7a21414ec66695b5798 (patch) | |
tree | bb559250279f3e5e0d35ecb8f8bc1d183a249b90 /tests/DozeTest | |
parent | 11e84bde9e98cb4b777a67208989d259883e9375 (diff) | |
download | frameworks_base-1e9bfc6461d3fe5455c9d7a21414ec66695b5798.zip frameworks_base-1e9bfc6461d3fe5455c9d7a21414ec66695b5798.tar.gz frameworks_base-1e9bfc6461d3fe5455c9d7a21414ec66695b5798.tar.bz2 |
Fix incorrect android.telecom.Call.Details equality check.
The the android.telecom.Call.Details class provides its own equals
implementation. Recently added in M is to also check if the mExtras
and mIntentExtras are different. Unfortunately, Bundles do not implement
equals. As a result when Telecom calls are parceled and sent to the
InCallServices, this means that the internalUpdate method will always
assume that the Details of a call have changed, even if they have not.
This was causing a LOT of extra calls to onUpdate in the InCall UI (2x the
amount). Although there is still room for improvement in the number of
callbacks from Telecom, this fix prevents a pretty significant regression
on that front.
Bug: 23218195
Change-Id: I128e996faf60376ed3df1dc848a97c4a7b0482ee
Diffstat (limited to 'tests/DozeTest')
0 files changed, 0 insertions, 0 deletions