Skip to content
Commit 9f70d4e2 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

AudioAttributes: fix regression with setLegacyStreamType in Builder

A regression was introduced by commit @6d69bde3 which caused a new
  Builder instance to be created when using setLegacyStreamType(),
  instead of returning the current one.

Bug: 130274354
Test: atest android.media.cts.AudioAttributesTest#testSetLegacyStreamOnBuilder
Change-Id: Ib66a0beb5f0f4489a6003cb9be6b8313b3318eac
parent 25b06f04
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment