MotoActions: Don't show preference for non existing sensor
authorMichael W <baddaemon87@gmail.com>
Tue, 29 Dec 2020 17:33:35 +0000 (18:33 +0100)
committerMichael W <baddaemon87@gmail.com>
Tue, 29 Dec 2020 17:33:35 +0000 (18:33 +0100)
commit3cffd7470fe632a99c2931422876e9c1f55c9406
tree3f89970b530e61e70f54e151b9839f76bb7303ea
parent9ccc54c3d21c79323665d6fbcd8b80a001e104d6
MotoActions: Don't show preference for non existing sensor

* 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
MotoActions/src/org/lineageos/settings/device/ActionsPreferenceFragment.java
MotoActions/src/org/lineageos/settings/device/actions/CameraActivationSensor.java