078bf43a00349dc8a10b7a54eaec565fe82a8e89 |
|
19-Apr-2016 |
Nathan Harold <nharold@google.com> |
Create PhoneStateListeners as needed to accommodate subId Changes We cannot assume that the list of valid subscriptions will be complete at the creation of SL4A or static throughout a session. Instead we need to allow for dynamically created/managed listeners, which also means tearing down old listeners that are orphaned by subscription changes. -Move creation/teardown of PhoneStateListeners into the StateChangeListener class -Create StateChangeListeners on-demand by valid subId -Remove the executable bit from the ImsManagerFacade.java file Bug: 28245377 Change-Id: I27bf7a31f0fecda44623752cc265732883273eb9
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ImsManagerFacade.java
|