From 47c00d792dae9467da48a1e0155bba66f1e64d32 Mon Sep 17 00:00:00 2001 From: Jan Altensen Date: Fri, 27 Mar 2020 16:40:28 +0100 Subject: [PATCH] samsung: hidl: power: fixup setInteractive while display is on Change-Id: I5cdf542650fa3baf416d5a1cb88cd7034efb407f --- hidl/power/Power.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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; } } -- 2.20.1