Skip to content
Commit 36bdb662 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

AudioFocusRequest.Builder build exception and focus request deprecation

AudioFocusRequest.Builder.build() throws IllegalStateException
  when invalid parameters were set.
Deprecate legacy focus request methods that used stream types.

Test: cts-tradefed run cts -m CtsMediaTestCases -t android.media.cts.AudioFocusTest
Bug: 30258418

Change-Id: Ie8960e686bc495fd06ac1b6f9eec3613ea19aaaa
parent c638e226
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