MotoActions: TorchAction: register custom torch callback lineage-17.1
authorVachounet <vachounet@live.fr>
Fri, 19 Feb 2021 11:14:15 +0000 (12:14 +0100)
committerJarlPenguin <jarlpenguin@outlook.com>
Fri, 19 Feb 2021 17:22:50 +0000 (18:22 +0100)
commitf237fab243c1548a23efbf686a7d8f858716b83b
tree72c78ff48f82eef991a7fe7bb7477452b3f18b01
parent8f728f3845a5790337ee6f4a4f0027a862e2fb18
MotoActions: TorchAction: register custom torch callback

* Actually callback is not registered and never triggered. When user enabled torch with power long press or with qs tile and then do the gesture to disable it (or the other way around), he will have to do the gesture twice since boolean has not been updated.

Change-Id: I03e88b6975300943fbeaf536fdf8552b9e3b3396
MotoActions/src/org/lineageos/settings/device/actions/TorchAction.java