projects
/
GitHub
/
LineageOS
/
android_hardware_samsung.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae28fb2
)
samsung: hidl: power: fixup setInteractive while display is on
author
Jan Altensen
<info@stricted.net>
Fri, 27 Mar 2020 15:40:28 +0000
(16:40 +0100)
committer
Jan Altensen
<info@stricted.net>
Thu, 9 Apr 2020 14:40:10 +0000
(16:40 +0200)
Change-Id: I5cdf542650fa3baf416d5a1cb88cd7034efb407f
hidl/power/Power.cpp
patch
|
blob
|
blame
|
history
diff --git
a/hidl/power/Power.cpp
b/hidl/power/Power.cpp
index 721dbda26c5703c4ff2dfa878fb6347e1928c37b..b8418f1789ac54e8eea099225c48f1fe72b3e11b 100644
(file)
--- 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
;
}
}