commit | 9f70d4e29bafe11c592395da9e89d21350bd341b | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Tue Apr 23 16:49:50 2019 -0700 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Wed Apr 24 08:20:17 2019 -0700 |
tree | 535589e53365c49e5a0e58072123e38205da65fe | |
parent | 25b06f04d4d79b9fc8f9a74d54b27bdccabd88bb [diff] |
AudioAttributes: fix regression with setLegacyStreamType in Builder A regression was introduced by commit @6d69bde 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