-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AHOYAPPS-821: Change AudioDevice auto select order (#73)
* Change AudioDevice auto select first attempt * Update target SDK to 30 * Use AudioDevice instance for the order * Add device selection order parameter check * Temporarily disable spotless * Upgrade spotless * Fix e2e test error * Revert "Temporarily disable spotless" This reverts commit 052d636. * Temporarily disable spotless * Fix runnable bug * Fix new bluetooth headset activation when user previously selected bluetooth * Clean up getHeadset logic a bit * Add unit test for bluetooth headset activation * Change preferredDeviceList element type to Class * Change preferredList validation to check for duplicates in list * Add audio device combination unit tests * Add helper method to clean up test params * Fix device removal bug in preferred device algorithm * Revert "Temporarily disable spotless" This reverts commit 052d636. * Fix formatting * No longer activate wired headset over preferred device list * Replace public array preferred device param with vararg * Add UnitTest logger * Require check format for tests * Disable java unit test logger * Add JavaDoc for the public preferredDevices public constructor argument * Swap top with front * Change preferredDevices param javadoc wording * Implement remaining AutomaticDeviceSelection instrumentation tests * Revert back to list as type for preferredDeviceList * Update changelog and gradle.properties * Allow empty preferredDeviceList * Refactor AudioSwitchTestParams test cases * Add IllegalArgumentException @throws in the AudioSwitch constructor JavaDoc * Remove optional buildToolsVersion from build.gradle Co-authored-by: Aaron Alaniz <aalaniz@twilio.com> * Add back ticks for null JavaDoc formatting Co-authored-by: Aaron Alaniz <aalaniz@twilio.com> * Update changelog with API version change Co-authored-by: Aaron Alaniz <aalaniz@twilio.com>
- Loading branch information
John Qualls
and
Aaron Alaniz
authored
Oct 8, 2020
1 parent
342e741
commit d799496
Showing
21 changed files
with
700 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.