commit | 7d859d43560b03ec092d781db9b00bb3eb48d55f | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenwang@google.com> | Tue Nov 06 15:33:23 2018 -0800 |
committer | Shuzhen Wang <shuzhenwang@google.com> | Tue Nov 06 15:36:32 2018 -0800 |
tree | 87c145db086f2c9e89a52fcaaf96b9959cb2815b | |
parent | 4d16ee4f1092960f58ecaec03beb5ff10898ade3 [diff] |
CameraService: Fix missing torch state callback In case HAL process crashes, addStates() should still send torch state callback to the app if observer is registered. Test: Kill HAL process and observe Flashlight icon in quicksettings Test: Camera CTS Bug: 117949686 Change-Id: Icee1891ef3993ebb0e7eed2dc281db8cd6106e84