diff options
author | Jin Seok Park <jinpark@google.com> | 2021-02-04 22:15:17 +0900 |
---|---|---|
committer | Jin Seok Park <jinpark@google.com> | 2021-02-16 21:08:53 +0900 |
commit | 11aee2c03a79edeb3e88cfa40ba112dc4d27dc74 (patch) | |
tree | e03d7c90758513143929cd0e3967ccabb2e20d0a /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | aa3477c5a8696fa25667445c051784ec98a05bc2 (diff) |
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
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions