summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorAmy <amyjojo@google.com>2018-09-25 10:56:31 -0700
committershubang <shubang@google.com>2019-01-11 10:57:30 -0800
commit123ec40f7dffcd24a8eddc1d9fc42dc2ee484725 (patch)
tree145afff86280958ce4ebcdade2190270d59fd187 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentcd18d288feb2fbef5cf94eb0114a3cc390c43873 (diff)
Refactor the Active Source updating logic in CEC devices.
ag/5108161 Move local Active Source to control service since each device only needs one local Active Source. Easier to update. But each device needs multiple mIsActiveSource for each device type since only one of them should be the Active Source. When Active Source can be handled only by one device type, like OneTouchPlay, call setAndBroadcastActiveSourceFromOneDeviceType in service to update all the device types. When receiving broadcast messages, all of the device types can handle Active Source updating in their own logic by calling setAndBroadcastActiveSource in service. Test: atest com.android.server.hdmi Change-Id: I88ce68719ae02c7a847dabb6c558abdb6840b3fa
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions