Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 97894749 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add @Intdef annotations to AudioManager.getSupportedDeviceTypes API" into main

parents afa74763 52352961
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -7878,9 +7878,9 @@ public class AudioManager {
     */
    @FlaggedApi(FLAG_SUPPORTED_DEVICE_TYPES_API)
    public @NonNull Set<Integer>
            getSupportedDeviceTypes(int direction) {
            getSupportedDeviceTypes(@AudioDeviceRole int direction) {
        if (direction != GET_DEVICES_OUTPUTS && direction != GET_DEVICES_INPUTS) {
            throw new IllegalArgumentException("AudioManager.getSupportedDeviceTypes("
            throw new IllegalArgumentException("AudioManager.getSupportedDeviceTypes(0x"
                    + Integer.toHexString(direction) + ") - Invalid.");
        }