summaryrefslogtreecommitdiff
path: root/postinst
diff options
context:
space:
mode:
authorPirama Arumuga Nainar <pirama@google.com>2019-05-29 14:18:18 -0700
committerOliver Nguyen <olivernguyen@google.com>2019-06-03 11:55:09 -0700
commit42f318af0b5730ea7835ad4ea124311747c9c3c5 (patch)
treed9db26836fb17820b0c96bcf409cb7f477a5ba28 /postinst
parent84d06f1474fbd39d1430fce55595d7929c9ecdf7 (diff)
downloadextras-42f318af0b5730ea7835ad4ea124311747c9c3c5.tar.gz
Do not create property_watch_loop thread for zygote
Bug: http://b/116873221 Bug: http://b/133872559 Do not create thread running property_watch_loop for zygote (which is essentially /system/bin/app_process invoked with a specific argument to start the zygote). The reason this is needed is because when the zygote forks system_server or an app, it waits for all threads to stop. But the thread created here doesn't know that it has to stop. So zygote gets stuck waiting and the device doesn't boot. This check is only needed for the platform, but can be done on any version after Android L, when getprogname() was added. Test: cuttlefish with coverage enabled can boot. Change-Id: I65aa603a88bf8da1f14b5c4ada3adf3776f33275 (cherry picked from commit 4cedcc68d4dfedf96474973de1e7e22d0ce0a523)
Diffstat (limited to 'postinst')
0 files changed, 0 insertions, 0 deletions