summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramRaster.java
diff options
context:
space:
mode:
authorJaewan Kim <jaewan@google.com>2018-03-13 19:15:59 +0900
committerJaewan Kim <jaewan@google.com>2018-03-14 10:02:36 +0900
commit009c393ca111743a61885f6290eba03e2afe404f (patch)
tree41b465388e9eaad13bb458246029746c899df345 /rs/java/android/renderscript/ProgramRaster.java
parent4d1390e4d7d595b096cc99f287873873bc0655f4 (diff)
MediaSession2: Refactor incoming binder calls to the MediaSession2Stub
This CL refactors methods in MediaSession2Stub that handles incoming binder calls from the controller by adding methods to do followings in one place. 1. Check if the session hasn't closed. 2. Check if the controller is allowed for the command 3. Call SessionCallback#onCommandRequest() for APIs that would be sent directly to the MediaPlayerBase or MediaPlaylistAgent if allowed. This CL also adds missing command code for setRating(). Bug: 74581821 Test: Run CTS tests with MediaComponents/runcts.sh Change-Id: I9b96e26b7644cff3c54269773590c73ff30f956c
Diffstat (limited to 'rs/java/android/renderscript/ProgramRaster.java')
0 files changed, 0 insertions, 0 deletions