diff options
author | Jan Altensen <info@stricted.net> | 2020-03-27 16:40:28 +0100 |
---|---|---|
committer | Jan Altensen <info@stricted.net> | 2020-04-09 16:40:10 +0200 |
commit | 47c00d792dae9467da48a1e0155bba66f1e64d32 (patch) | |
tree | ce962da85d00c70ecea5cfb8923f40fc0bfef491 | |
parent | ae28fb2ad1cbc60244f1688ff5249abc494c9178 (diff) | |
download | android_hardware_samsung-47c00d792dae9467da48a1e0155bba66f1e64d32.tar.gz android_hardware_samsung-47c00d792dae9467da48a1e0155bba66f1e64d32.tar.bz2 android_hardware_samsung-47c00d792dae9467da48a1e0155bba66f1e64d32.zip |
samsung: hidl: power: fixup setInteractive while display is on
Change-Id: I5cdf542650fa3baf416d5a1cb88cd7034efb407f
-rw-r--r-- | hidl/power/Power.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hidl/power/Power.cpp b/hidl/power/Power.cpp index 721dbda..b8418f1 100644 --- a/hidl/power/Power.cpp +++ b/hidl/power/Power.cpp @@ -59,7 +59,7 @@ Return<void> Power::setInteractive(bool interactive) { if (panel_brightness > 0) { LOG(VERBOSE) << "Moving to non-interactive state, but screen is still on," << "not disabling input devices"; - return Void(); + goto out; } } |