samsung: doze: Fix AoD default pref
authorHenrique Silva <jhenrique09.mcz@hotmail.com>
Thu, 17 Jan 2019 23:40:14 +0000 (21:40 -0200)
committerBruno Martins <bgcngm@gmail.com>
Wed, 13 Jan 2021 14:25:10 +0000 (15:25 +0100)
commit63f95addbcf30e93b0a01954a1f7107cf60878f7
tree7e1d68f8bf0f184667930846f5801490b665dbf9
parenta8d747939ea3937d83b8466af309303d1a16b8e6
samsung: doze: Fix AoD default pref

* Fixes non-working pulse notifications from sensors until user toggles
  the main switch and also sets the proper initial status of the
  AoD preference for the devices that have the feature available.

Signed-off-by: Henrique Silva <jhenrique09.mcz@hotmail.com>
Change-Id: I8e554decca3734b165fdc722d904d90713666db9
doze/src/org/lineageos/settings/doze/Utils.java