summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-08-11 12:47:41 -0700
committerDianne Hackborn <hackbod@google.com>2010-08-11 12:47:41 -0700
commitf4c454bac9cfd804603e65c5195f49a344adf82d (patch)
tree039e9405d49a1a33f6843795b0926a94a16e361c /services
parenta5ae50cd838b5725c63ed485292aae4edd1a98cb (diff)
downloadframeworks_base-f4c454bac9cfd804603e65c5195f49a344adf82d.zip
frameworks_base-f4c454bac9cfd804603e65c5195f49a344adf82d.tar.gz
frameworks_base-f4c454bac9cfd804603e65c5195f49a344adf82d.tar.bz2
New system property "sys.boot_completed" set to 1 when boot completed.
Change-Id: Ie3fc0b1efdfb637b0c780064a71e8c1575e15ca3
Diffstat (limited to 'services')
-rw-r--r--services/java/com/android/server/am/ActivityManagerService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/java/com/android/server/am/ActivityManagerService.java b/services/java/com/android/server/am/ActivityManagerService.java
index 162fffe..dff6a8a 100644
--- a/services/java/com/android/server/am/ActivityManagerService.java
+++ b/services/java/com/android/server/am/ActivityManagerService.java
@@ -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,