commit | 9035d72c61868193b5630db16a71a0d208bc4666 | [log] [tgz] |
---|---|---|
author | Juho Ha <juhoha@google.com> | Mon Jun 12 20:15:31 2017 +0900 |
committer | Juho Ha <juhoha@google.com> | Fri Jun 30 09:39:13 2017 +0900 |
tree | ced9d63611617654b6bb31609fc1f95762417b32 | |
parent | 36ae6b8c1830ef031e94d1ac7e792b8ddd8c9e81 [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