summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2016-04-08 20:47:02 -0700
committerEric Laurent <elaurent@google.com>2016-04-14 12:49:20 -0700
commit3c86a343dfca1b9e2e28c240dc894f60709e392c (patch)
treee9ff24bd2c099c78738c571333fb5c2d799d2b99 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent4ecc096b625dce65970b785f156d24d32cff5e64 (diff)
Player superclass for handling AppOps features
Add a new class to group media/audio player features under one interface. Currently only used for audio-related AppsOps restrictions. In the future can group routing, audio focus handling by the framework... MediaPlayer inherits from PlayerBase, and overrides the methods that are needed to delegate the handling of the restrictions in a separate class. When AppOps restrictions change (as triggered through the callback in PlayerBase), reset the volume to its value intended by the application (when unmuting) or the framework (0 when enforcing the restriction). Bug 28069414 Change-Id: I2f38e4b9b3c029778836868cf78f4d15d7603247
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions