commit | 8de8a9585761686992ced5a8dacb38f20109dd24 | [log] [tgz] |
---|---|---|
author | Amit Mahajan <amitmahajan@google.com> | Wed Dec 09 18:28:35 2020 -0800 |
committer | Zoey Chen <zoeychen@google.com> | Fri Dec 11 09:46:11 2020 +0000 |
tree | 653db22f0aed8578130f3b7a99f5b23a170a8379 | |
parent | fb5c7f5b003a7326501796cf95644f49ebaf4b93 [diff] |
Handle PhoneStateListener created on a non-looper thread correctly. Also use the Executor passed in through TM#registerPhoneStateListener instead of the one created in PSL from Looper.myLooper(). Test: atest -c TelephonyManagerTest Bug: 175263146 Change-Id: I158dbc88532470e86a89822b63421e5cadfea26f