commit | d20d539822f49efeb82cfefdb8f5fc929886674e | [log] [tgz] |
---|---|---|
author | Jiakai Zhang <jiakaiz@google.com> | Fri May 31 12:26:34 2024 +0100 |
committer | Jiakai Zhang <jiakaiz@google.com> | Fri May 31 12:26:34 2024 +0100 |
tree | 418a48b43e374abe0714cb2f002cab4a6212edd6 | |
parent | 9fa9da8159264194c1af8bf7e7d92499a6579587 [diff] |
Create a pipe between otapreopt_script and Pre-reboot Dexopt. Pre-reboot Dexopt uses this pipe to check if otapreopt_script is alive, and cancels itself when otapreopt_script dies. Bug: 311377497 Test: - 1. system/update_engine/scripts/update_device.py out/dist/aosp_cf_x86_64_phone-ota-*.zip 2. Wait for update_engine to enter the postinstall stage. 3. adb shell update_engine_client --cancel Change-Id: I9ef4525f4d0b3b8344604166a044c9e3e1bf18a0