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

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

Merge "Fix annotation for getStreamType" into main

parents 981d8f54 16b306e4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ public final class VolumeInfo implements Parcelable {
     * @throws IllegalStateException when called on a VolumeInfo not configured for
     *      stream types.
     */
    public @AudioManager.PublicStreamTypes int getStreamType() {
    public @AudioManager.VolumeControlStreamTypes int getStreamType() {
        if (!mUsesStreamType) {
            throw new IllegalStateException("VolumeInfo doesn't use stream types");
        }