Skip to content

Commit 6a78cd8

Browse files
guang-googleAndroid (Google) Code Review
authored andcommitted
Merge "Move where prop dev.bootcomplete is set"
2 parents 73f22cd + 191713a commit 6a78cd8

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3456,7 +3456,6 @@ static long[] getLongIntArray(Resources r, int resid) {
34563456
public void systemReady() {
34573457
// tell the keyguard
34583458
mKeyguardMediator.onSystemReady();
3459-
android.os.SystemProperties.set("dev.bootcomplete", "1");
34603459
synchronized (mLock) {
34613460
updateOrientationListenerLp();
34623461
mSystemReady = true;

services/java/com/android/server/am/ActivityManagerService.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4045,6 +4045,7 @@ public void onReceive(Context context, Intent intent) {
40454045
mHandler.sendMessageDelayed(nmsg, POWER_CHECK_DELAY);
40464046
// Tell anyone interested that we are done booting!
40474047
SystemProperties.set("sys.boot_completed", "1");
4048+
SystemProperties.set("dev.bootcomplete", "1");
40484049
broadcastIntentLocked(null, null,
40494050
new Intent(Intent.ACTION_BOOT_COMPLETED, null),
40504051
null, null, 0, null, null,

0 commit comments

Comments
 (0)