Skip to content
Commit 11aee2c0 authored by Jin Seok Park's avatar Jin Seok Park
Browse files

Change using Handler to using Executor

Change addOnActiveSessionsChangedListener and other APIs to use
Executor instead of Handler according to API council guideline.

Also move the listener parameter to the end of the list
of parameters to improve Kotlin-compatibility, since Kotlin allows
SAM, or Single Abstract Method, to be expressed as a trailing
lambda syntax.

Bug: 174762061
Test: build && atest android.media.cts.MediaSessionManagerTest
Change-Id: I556d400e86e4c05c6840e6835432a82ca3695774
parent aa3477c5
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