diff options
| author | 2017-07-13 12:07:20 -0700 | |
|---|---|---|
| committer | 2017-07-13 12:23:51 -0700 | |
| commit | 19d96a197fbbca281c907f14af294dae2a8b4db1 (patch) | |
| tree | 668e18d491b3c710a9662ff54cfe4ac86ec161e0 /libs/hwui/TextureCache.cpp | |
| parent | bcc35f5ae6cb864f04b83c53c9377fbe2e76673c (diff) | |
CameraManager: Handle camera service being disabled explicitly
Previously, CameraManager handled a disabled camera service
implicitly, the same as it handles a temporarily-crashed camera
service.
However, the error reporting for the those cases isn't really the
same, so switch to being explicit - check for the disabled camera
service system property, and if it's set, short-circuit calls.
Test: Camera CTS continues to pass, Watch device with no camera
service also now passes camera CTS.
Bug: 62269118
Change-Id: I65a97f8c1b0f101999b2c04d4f1096b7f3aee858
Diffstat (limited to 'libs/hwui/TextureCache.cpp')
0 files changed, 0 insertions, 0 deletions