commit | 2c39b4704fe318a590f56eabe87c4bfb28ed167e | [log] [tgz] |
---|---|---|
author | ezio84 <brabus84@gmail.com> | Sun Sep 03 15:31:56 2017 +0200 |
committer | REV3NT3CH <rev3nt3ch@gmail.com> | Sun Aug 25 01:56:07 2019 -0700 |
tree | d84977ff9e8793cc3f9cff3fb49da08a39b5dd5c | |
parent | 60266acd410994e83f260d1460c2455ce4b291bd [diff] |
Add api to toggle flashlight and check if device has flashlight statusbar service getter borrowed from PhoneWindowManager code use PackageManager to check if the device has flashlight use aosp flashcontroller to handle the flash toggle like the flashlight tile does aosip edits: only add missing pieces Change-Id: I4e8fe3351b408aa55573b191baa1bc742962a85c Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>