power-libperfmgr: move double tap to wake out of setInteractive()
authorTim Zimmermann <tim@linux4.de>
Mon, 7 Sep 2020 11:07:43 +0000 (13:07 +0200)
committerTim Zimmermann <tim@linux4.de>
Mon, 7 Sep 2020 12:09:32 +0000 (14:09 +0200)
commit5cf721c577692fee9adecfcb67bfd07c10d6459c
treedf7b237a84cd2e03d34e56e0b368b027b0dbd547
parent55be8ed074f5d0036b076c972b4def47907c86ff
power-libperfmgr: move double tap to wake out of setInteractive()

enabling/disabling DT2W inside setInteractive() doesn't work correctly
on some newer samsung devices so enable/disable it only when the setting
has changed and on boot

Change-Id: I3a5d8471e007e5f78c7df8da3cc629fb452e72d9
hidl/power-libperfmgr/Power.cpp
hidl/power-libperfmgr/Power.h