ryanywlin
dca308e56d
Replace deprecated APIs in audio switcher.
...
- Remove isWiredHeadsetOn() and isBluetoothA2dpOn()
in MediaOutputPreferenceController.
- Remove isWiredHeadsetOn() and isBluetoothScoOn()
in HandsFreeProfileOutputPreferenceController.
- Replace with AudioManager.getDevicesForStream().
- Update test cases.
Bug: 78141441
Test: make RunSettingsRoboTests ROBOTEST_FILTER="MediaOutputPreferenceControllerTest" -j40
Test: make RunSettingsRoboTests ROBOTEST_FILTER="HandsFreeProfileOutputPreferenceControllerTest" -j40
Test: make RunSettingsRoboTests ROBOTEST_FILTER="AudioOutputSwitchPreferenceControllerTest" -j40
Change-Id: Ic57c40badf0fd5633f1b7412d63a0b5417d0f47a
2018-04-18 05:57:27 +08:00
..
2018-04-06 23:06:36 +00:00
2018-04-10 22:49:18 +00:00
2018-04-12 13:49:34 -04:00
2018-03-07 08:49:31 +00:00
2018-04-16 18:34:37 +00:00
2018-04-15 04:22:25 +00:00
2018-04-16 19:24:31 +00:00
2018-04-14 23:12:48 +00:00
2018-04-11 18:22:55 -07:00
2018-03-30 18:35:52 +00:00
2018-02-23 16:56:30 -08:00
2018-03-30 14:29:50 -07:00
2018-04-14 03:08:23 +00:00
2018-04-11 01:28:33 +00:00
2018-02-23 16:56:30 -08:00
2018-04-11 13:55:57 +00:00
2018-03-30 16:30:31 -07:00
2018-04-13 14:41:03 -07:00
2018-04-11 22:46:41 +00:00
2018-03-29 10:54:54 -07:00
2018-03-21 15:01:11 +00:00
2018-03-29 17:55:41 -07:00
2018-01-29 11:39:48 -08:00
2018-03-07 14:07:16 +00:00
2018-04-13 13:48:05 -07:00
2018-03-28 09:55:22 +08:00
2018-04-12 13:49:34 -04:00
2018-04-02 17:09:10 -07:00
2018-04-11 11:43:18 +01:00
2018-03-30 15:58:14 -07:00
2018-04-13 15:07:45 -07:00
2018-03-30 20:44:20 -07:00
2018-02-28 11:12:05 -08:00
2017-11-15 21:59:25 +00:00
2018-04-11 17:54:41 -07:00
2018-04-18 05:57:27 +08:00
2018-02-09 11:26:16 -08:00
2018-03-10 00:26:15 +00:00
2017-12-15 22:41:34 +00:00
2018-03-07 15:53:18 -08:00
2018-04-13 15:07:45 -07:00
2018-04-09 10:29:58 -07:00
2018-04-02 16:51:40 -07:00
2018-03-22 15:28:46 -07:00
2018-01-24 23:01:57 +00:00
2018-04-13 22:51:58 +00:00
2018-04-13 15:29:44 -07:00
2018-04-03 18:31:39 +00:00
2018-04-12 14:10:35 +08:00
2017-11-23 16:51:04 +00:00
2018-02-02 13:41:16 -08:00
2018-02-23 16:56:30 -08:00
2017-12-11 21:01:58 +01:00
2018-01-24 12:30:39 -08:00
2018-04-10 14:21:00 -07:00
2017-12-19 16:22:03 -08:00
2018-01-23 22:38:49 +09:00
2017-12-14 14:38:30 -08:00
2018-03-15 11:24:25 -07:00
2018-03-05 20:27:51 +00:00
2018-01-04 13:05:46 -08:00
2017-11-29 15:51:04 -08:00
2018-02-02 13:41:16 -08:00
2018-01-08 18:08:01 -08:00
2018-03-05 20:27:51 +00:00
2018-04-02 17:27:56 -07:00
2018-03-05 20:27:51 +00:00
2018-04-15 04:22:25 +00:00
2018-03-28 15:39:07 -07:00
2018-04-03 17:08:47 -07:00
2018-04-05 10:20:26 -07:00
2017-12-07 06:41:30 +09:00
2018-04-04 15:58:53 -07:00
2018-01-30 21:01:42 -08:00
2018-03-19 15:11:49 -07:00
2018-02-02 13:41:16 -08:00
2017-12-15 13:46:27 -08:00
2018-03-30 20:44:20 -07:00