commit | eddcb1bfe8cb450245c8566a292d0ed5d9b76c7a | [log] [tgz] |
---|---|---|
author | Kevin Jeon <kevinjeon@google.com> | Wed Nov 11 00:07:39 2020 +0000 |
committer | Kevin Jeon <kevinjeon@google.com> | Wed Nov 11 21:54:28 2020 +0000 |
tree | e7d0e5c12c768a989de3cce7fc1b89040361784f | |
parent | 32026d51a17455ef449a67bf75d7990bf118380a [diff] |
Remove isServiceConnected() from TelecomManager isServiceConnected() was being called before uses of getTelecomService() to ensure that the service was connected before accessing it. However, isServiceConnected() used getTelecomService() to check if the service was connected, resulting in unnecessary binder calls. Bug: 173036057 Bug: 173039862 Test: manual testing (switching between different tabs, calling) Change-Id: I622464927826d8af1c6e75ed4557580d8723315c