From: Jan Altensen Date: Fri, 27 Mar 2020 15:40:28 +0000 (+0100) Subject: samsung: hidl: power: fixup setInteractive while display is on X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=47c00d792dae9467da48a1e0155bba66f1e64d32;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung.git samsung: hidl: power: fixup setInteractive while display is on Change-Id: I5cdf542650fa3baf416d5a1cb88cd7034efb407f --- 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; } }