summaryrefslogtreecommitdiffstats
path: root/light
diff options
context:
space:
mode:
authorSteven Moreland2018-05-24 15:16:54 -0500
committerSteven Moreland2018-05-24 19:38:14 -0500
commit44c01c088303546c6197afddeb367f79a22afefd (patch)
treecad012ad9aa3fe33b3d9bd09cf61556cb066e667 /light
parente433a1b7ae645f8be717aaf4920b34f651000f74 (diff)
downloadplatform-hardware-interfaces-44c01c088303546c6197afddeb367f79a22afefd.tar.gz
platform-hardware-interfaces-44c01c088303546c6197afddeb367f79a22afefd.tar.xz
platform-hardware-interfaces-44c01c088303546c6197afddeb367f79a22afefd.zip
Revert "blank_screen: always exit with _exit()."
This was a temporary workaround in Android P, but it is fixed with a relatively more dangerous change in libhwbinder. This reverts commit 73ba34f1b7ab37a71c91ddbbe3e6d490d2161d34. Bug: 77934844 Test: reboot device and watch for screen to get shutdown, check logs Change-Id: I970144eea4acd8254f4a67ebe803f3c3eda9aba2
Diffstat (limited to 'light')
-rw-r--r--light/utils/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/light/utils/main.cpp b/light/utils/main.cpp
index 724e0eef..d07e799a 100644
--- a/light/utils/main.cpp
+++ b/light/utils/main.cpp
@@ -55,6 +55,5 @@ int main() {
55 } 55 }
56 }); 56 });
57 57
58 // b/77934844: Avoid running static destructors. 58 return 0;
59 _exit(1);
60} 59}