Telecom fixes related to RoleManager
- fix setState method so you can't transition from ANSWERED to ACTIVE state. I found a case when running some of the CTS where this was flaking because the CTS test runs quickly enough that it was possible for some of the Telecom answer call code to try setting a call to answered when the underlying CS has already set it active. ANSWERED is the intermediate state before it becomes active. - factor access to RoleManager for getting dialer role into the RoleManagerAdapter. - add ability to set an override default dialer via command line for CTS test purposes since the RoleManager is too trigger happy when switching the default dialer. - change DefaultDialerCache to always refresh default dialer cache when queried; this is an interim step until we can get the RoleManager to tell us when the role filler for Dialer is changed. Test: Run the CTS tests over, and over, and over, and over.... Bug: 131065482 AOSP: infeasible for now; will refactor-cherry-pick into aosp but it'll be messy. Change-Id: Id42b6157c338dc0a96a7db0372a5bc2df3f4d2c7
Loading
Please register or sign in to comment