MotoActions: Don't crash settings
authorMichael W <baddaemon87@gmail.com>
Tue, 29 Dec 2020 17:23:17 +0000 (18:23 +0100)
committerMichael W <baddaemon87@gmail.com>
Tue, 29 Dec 2020 17:23:17 +0000 (18:23 +0100)
commit9ccc54c3d21c79323665d6fbcd8b80a001e104d6
tree3060215d99cc715a44d53e4fc3ae0a5d98f2546a
parentb5fe31396d7a7f6970cc0630bd18def57d9b13c4
MotoActions: Don't crash settings

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