summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Queru2013-03-12 07:26:37 -0700
committerJean-Baptiste Queru2013-03-12 07:26:37 -0700
commit7bc5587cab718f144deb46a5056d4ebd01a58a91 (patch)
tree56616d414ade9c01341c8ea97f051d275ea0c8e5
parent10c3003a034b9c18b7d17e967135088b95b9ca31 (diff)
Complete provisioning, and complete provisioning again.
Because once is not enough. Bug: 7546122 Change-Id: Ic4472d517be622f176807f175f9f7df41d286647
-rw-r--r--src/com/android/provision/DefaultActivity.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/provision/DefaultActivity.java b/src/com/android/provision/DefaultActivity.java
index 3607c3e..031f3b1 100644
--- a/src/com/android/provision/DefaultActivity.java
+++ b/src/com/android/provision/DefaultActivity.java
@@ -33,6 +33,7 @@ public class DefaultActivity extends Activity {
// Add a persistent setting to allow other apps to know the device has been provisioned.
Settings.Global.putInt(getContentResolver(), Settings.Global.DEVICE_PROVISIONED, 1);
+ Settings.Secure.putInt(getContentResolver(), Settings.Secure.USER_SETUP_COMPLETE, 1);
// remove this activity from the package manager.
PackageManager pm = getPackageManager();