summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorIlya Matyukhin <ilyamaty@google.com>2021-05-26 18:09:04 -0700
committerIlya Matyukhin <ilyamaty@google.com>2021-05-26 21:16:35 -0700
commit788d66597969e388efd2a7b2317f859694269474 (patch)
tree7790bfd06ae97394147a973f591bf70ad698bac8 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent6fda802363c8380f1d743e63ddecbc95e5f813d7 (diff)
Return immediately from isHardwareDetected
If the service is not available at the time of the call, do not call ServiceManager.waitForDeclaredService(halFqn) as this call will wait indefinitely for the HAL to start if the HAL is declared. This is important because isHardwareDetected is used in SystemUI (Keyguard) to determine whether certain UI elements should be available. If the HAL crashes and cannot restart, this can cause a SystemUI ANR. Bug: 189275305 Test: on device with a declared HAL that never registers itself. Change-Id: Ia768bf5b1bc124fd789cbe8e5fe523e1fa2becca
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions