Merge "New system property "sys.boot_completed" set to 1 when boot completed." into gingerbread

This commit is contained in:
Dianne Hackborn
2010-08-11 15:16:01 -07:00
committed by Android (Google) Code Review

View File

@@ -3571,6 +3571,7 @@ public final class ActivityManagerService extends ActivityManagerNative implemen
if (mFactoryTest != SystemServer.FACTORY_TEST_LOW_LEVEL) {
// Tell anyone interested that we are done booting!
SystemProperties.set("sys.boot_completed", "1");
broadcastIntentLocked(null, null,
new Intent(Intent.ACTION_BOOT_COMPLETED, null),
null, null, 0, null, null,