Merge changes from topic "preinstall-overrides"

* changes:
  Add force_non_debuggable_final_build_for_compat
  Allow overriding compat config prior to install time.
This commit is contained in:
Andrei-Valentin Onea
2021-01-07 14:04:12 +00:00
committed by Gerrit Code Review
13 changed files with 540 additions and 65 deletions

View File

@@ -912,6 +912,9 @@ public final class SystemServer {
mActivityManagerService.setSystemProcess();
t.traceEnd();
// The package receiver depends on the activity service in order to get registered.
platformCompat.registerPackageReceiver(mSystemContext);
// Complete the watchdog setup with an ActivityManager instance and listen for reboots
// Do this only after the ActivityManagerService is properly started as a system process
t.traceBegin("InitWatchdog");