OTA updates on A/B devices need a manual restart
Mata OTA update: need manual restart
Summary
When performing a systme OTA update on Mata device, it doesn't restart at the end of the process. Therefore, the update is not applied until a manual restart of device.
Steps to reproduce
Perform an OTA update.
What is the current behavior?
No automatic system restart in post-installation state.
What is the expected correct behavior?
System should restart to have the update working.
Relevant logs and/or screenshots
10-19 10:44:02.559 1441 1441 V NotificationService: pkg=org.lineageos.updater canInterrupt=false intercept=true
10-19 10:44:02.559 1441 3558 I OTADexopt: Cleaning up OTA Dexopt state.
10-19 10:44:02.566 910 910 I update_engine: [1019/104402:INFO:subprocess.cc(156)] Subprocess output:
10-19 10:44:02.566 910 910 I update_engine: Complete or error.
10-19 10:44:02.566 910 910 I update_engine:
10-19 10:44:02.642 1441 1441 V NotificationService: pkg=org.lineageos.updater canInterrupt=false intercept=true
10-19 10:44:02.646 910 910 I update_engine: [1019/104402:INFO:postinstall_runner_action.cc(341)] All post-install commands succeeded
10-19 10:44:02.646 910 910 I update_engine: [1019/104402:INFO:action_processor.cc(116)] ActionProcessor: finished last action PostinstallRunnerAction with code ErrorCode::kSuccess
10-19 10:44:02.647 910 910 I update_engine: [1019/104402:INFO:update_attempter_android.cc(288)] Processing Done.
10-19 10:44:02.651 910 910 I update_engine: [1019/104402:INFO:update_attempter_android.cc(297)] Update successfully applied, waiting to reboot.
10-19 10:44:02.658 1441 1441 V NotificationService: pkg=org.lineageos.updater canInterrupt=false intercept=true
Possible fixes
(If you can, link to the line of code that might be the cause for this problem)