summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJerry Zhang <zhangjerry@google.com>2017-04-18 12:00:09 -0700
committerJerry Zhang <zhangjerry@google.com>2017-04-18 12:06:27 -0700
commit41ebde2bb35e8a5df25d9d2edb49e93585a015dd (patch)
tree848b0bf2ab20bf9a8d4ab5e447c579a5436326ca /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent5838563e93022e0d6f733f728a19c3221d2b3c82 (diff)
Only send HOST_STATE intents when host mode is used.
Previously HOST_STATE update intents would broadcast if the device was in gadget mode but not configured. This would override the sticky intent, causing MtpReceiver to fail. This is fixed by only updating host state if host is connected or if host is being disconnected (was connected before). Bug: 34873000 Test: set up lockscreen, reboot device while plugged in, unplug before unlocking, verify usb works. Change-Id: Ic424e678ba72401ee8ec975e915727272edf3767
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions