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

Commit c1601f73 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

Restore missing usage assignment in AudioAttributes

A bad merge caused the usage field assignment in
  setLegacyStreamType() to disappear. Restore it.

Change-Id: I2c72e09a2c4a394483b8a4521b72d5edcc346e23
parent c503896a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -413,6 +413,7 @@ public final class AudioAttributes implements Parcelable {
                default:
                    Log.e(TAG, "Invalid stream type " + streamType + " for AudioAttributes");
            }
            mUsage = usageForLegacyStreamType(streamType);
            return this;
        }