From 3c5cc318244f3836230824afffc8b6f0354727a4 Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Thu, 5 Dec 2019 15:38:37 +0000 Subject: [PATCH] Run the derive_sdk service Run this process as early as possible in the boot -- right after its config has been parsed from the apex. This ensures the sdk prop is set as early as it can be, should some other early process need to look at it. Note: this is unlikely to be the permanent way this gets run, as it's only needed when apexes update. Bug: 137191822 Test: boot && adb shell getprop | grep sdk_info Change-Id: Ia48ef89435ca165333b52d653e3131f71a522747 --- rootdir/init.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/rootdir/init.rc b/rootdir/init.rc index 782fb928f..ff687341d 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -669,6 +669,7 @@ on post-fs-data # Wait for apexd to finish activating APEXes before starting more processes. wait_for_prop apexd.status ready parse_apex_configs + exec_start derive_sdk init_user0