forked from crosswalk-project/chromium-crosswalk
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MidiManagerAndroid: use PackageManager to detect MIDI feature support
Existing code just checks Android version to know if the system supports Android MIDI API, but reality is it depends on products. This patch introduces an additional check to ask PackageManager. This is expected to work always because cts would requre MIDI tests to pass if it says FEATURE_MIDI is supported on the device. See aosp-master/cts/tests/tests/midi/src/android/midi/cts/MidiEchoTest.java Bug: 486584, 683027, 761897 Change-Id: Idb3ca57c3179220957dd16126f24570e2b45f299 Reviewed-on: https://chromium-review.googlesource.com/643246 Commit-Queue: Takashi Toyoshima <[email protected]> Reviewed-by: Yutaka Hirano <[email protected]> Cr-Commit-Position: refs/heads/master@{#499575}
- Loading branch information
Showing
2 changed files
with
17 additions
and
2 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