Targeting S+ (version 31 and above) requires that an explicit value
for android:exported be defined when intent filters are present
Change-Id: I2ce2b2cd1dcd69e343ae8577587483b19d825fdc
* 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
* While c9999dacb17 introduced options to false, whole code sets to true as default.
Bring it back to default code behavior
Change-Id: I32cb9851c81282e0440f5a0d1654f31b37e35c91
* Make follow system accents as well
Change-Id: I8ea63f82e079ba7868313c14e4973f9c1dd9789d
(cherry picked from commit c9999dacb17c2372be960a05789b603f827dad2b)
* Looks like some variants don't have a CameraActivationSensor, so let's
remove the preference as the user's choice won't have an effect anyway
Change-Id: I7d157a992a6cb9ee333752772bc5e3b647b614f2
* Registering a non-existing sensor causes a RuntimeException which crashes
the Settings app which in turn takes down the whole system
* Change the RuntimeExceptions to normal error loggings
Change-Id: I18a73adc311bec6b70440a3266c7e2af74baa55a