]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/platform-hardware-interfaces.git/commitdiff
Revert "blank_screen: always exit with _exit()."
authorSteven Moreland <smoreland@google.com>
Thu, 24 May 2018 20:16:54 +0000 (13:16 -0700)
committerSteven Moreland <smoreland@google.com>
Fri, 25 May 2018 00:38:14 +0000 (00:38 +0000)
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

light/utils/main.cpp

index 724e0eefae790e5bea823d6305eca8dd2d293e4c..d07e799ab94f5a8ab20553a67d3a0bc92c29d90f 100644 (file)
@@ -55,6 +55,5 @@ int main() {
         }
     });
 
-    // b/77934844: Avoid running static destructors.
-    _exit(1);
+    return 0;
 }