summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorDarryl L Johnson <darryljohnson@google.com>2021-03-08 08:38:57 -0800
committerDarryl L Johnson <darryljohnson@google.com>2021-03-08 18:02:57 -0800
commit090b0afb1b14e26055385681998988dbbbc54a0e (patch)
tree4dae05e88fc1ca448818efbbae7fd984ffe988b3 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent5efdaa632b3a718e01f70b8237f2182f63a2922a (diff)
Don't report device state until hardware state is known.
The previous implementation of DeviceStateProviderImpl would report the current device state as soon as a listener was registered leading to a series of device state changes on boot as the state of the hardware becomes known. This changes the implementation to await callbacks before notifying the listener of a change in device state. Fixes: 181671216 Test: atest DeviceStateProviderImplTest Test: atest DeviceStateManagerServiceTest Test: atest DeviceStateManagerGlobalTest Change-Id: I3f133b6d7135b829b79c9f225ae52c71061faa3e
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions