summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramRaster.java
diff options
context:
space:
mode:
authorRobin Lee <rgl@google.com>2019-12-30 13:03:07 +0100
committerRobin Lee <rgl@google.com>2019-12-30 13:05:46 +0100
commit9fa43dad068f7348f9a66fe3805416282a034332 (patch)
tree0e07c3314e10013112f4d2c5d53c7f145d94fd0c /rs/java/android/renderscript/ProgramRaster.java
parentd130e3aa2edc4b97339dcfd28e8866b0f8e64a65 (diff)
Make getCameraIdListNoLazy handle no service case
If we have sCameraServiceDisabled, we know for sure that calling addListener on the mCameraService is going to fail with NPE, so the best option is to just return an empty list. Fix: 146994502 Test: atest android.camera.cts.HeifWriterTest Change-Id: Ie3a1457fbace0879a5d66600acd83541a9d78182
Diffstat (limited to 'rs/java/android/renderscript/ProgramRaster.java')
0 files changed, 0 insertions, 0 deletions