samsung: doze: Move Utils.checkDozeService in an handler
authorLuca Stefani <luca.stefani.ge1@gmail.com>
Tue, 8 Jan 2019 13:56:52 +0000 (14:56 +0100)
committerBruno Martins <bgcngm@gmail.com>
Wed, 13 Jan 2021 14:23:47 +0000 (15:23 +0100)
commit9a527bab46bae5d4aea2ebd070e49dd390d94f30
tree5580ae64aeb54ed85dc714e5e86f33955a723c06
parentf69e8a5140536c3e77845ccae732afc48570a371
samsung: doze: Move Utils.checkDozeService in an handler

* There's no need to manually write to the gestures prefs
  as long we are sure the handler is run after we return true
  in the onPreferenceChangeListner

Change-Id: I090c0c6c91267aff69c45365b95b5f5e26d07b07
doze/src/org/lineageos/settings/doze/SamsungDozeSettings.java
doze/src/org/lineageos/settings/doze/Utils.java