summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJuho Ha <juhoha@google.com>2017-06-12 20:15:31 +0900
committerJuho Ha <juhoha@google.com>2017-06-30 09:39:13 +0900
commit9035d72c61868193b5630db16a71a0d208bc4666 (patch)
treeced9d63611617654b6bb31609fc1f95762417b32 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent36ae6b8c1830ef031e94d1ac7e792b8ddd8c9e81 (diff)
Disable task snapshot when image size is invalid
Since devices such as IoT can have no screen, the size of graphic buffer can be 1x1. In this case the WindowManager crashes while making bitmap with reduced size. To prevent the crash, disabled snapshotting on this screen. Bug: 62401135 Test: Device without the display does not crash when app dies. Change-Id: I367008405e6238baf3e56974f7d363ea81dfa916
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions