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

Commit 5ed210fb authored by Scott Randolph's avatar Scott Randolph
Browse files

Add TYPE_BUS to isValidAudioDeviceTypeOut

TYPE_BUS was defined, but hadn't yet been added to the enum definition
and the associated validator.

Test:  Build mojave
Change-Id: I866cdc49e6f445585f39e32dbb93a4d608962295
parent 277ff087
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -142,7 +142,8 @@ public final class AudioDeviceInfo {
            TYPE_LINE_DIGITAL,
            TYPE_FM,
            TYPE_AUX_LINE,
            TYPE_IP }
            TYPE_IP,
            TYPE_BUS }
    )
    @Retention(RetentionPolicy.SOURCE)
    public @interface AudioDeviceTypeOut {}
@@ -168,6 +169,7 @@ public final class AudioDeviceInfo {
            case TYPE_FM:
            case TYPE_AUX_LINE:
            case TYPE_IP:
            case TYPE_BUS:
                return true;
            default:
                return false;