Merge "Allow multiuser use of keystore"
diff --git a/src/com/android/certinstaller/CertInstaller.java b/src/com/android/certinstaller/CertInstaller.java
index a95dcac..0bfa33b 100644
--- a/src/com/android/certinstaller/CertInstaller.java
+++ b/src/com/android/certinstaller/CertInstaller.java
@@ -25,7 +25,6 @@
 import android.content.Intent;
 import android.os.AsyncTask;
 import android.os.Bundle;
-import android.os.UserHandle;
 import android.security.Credentials;
 import android.security.KeyChain;
 import android.security.KeyChain.KeyChainConnection;
@@ -85,12 +84,6 @@
     protected void onCreate(Bundle savedStates) {
         super.onCreate(savedStates);
 
-        if (UserHandle.myUserId() != UserHandle.USER_OWNER) {
-            toastErrorAndFinish(R.string.only_primary_user_allowed);
-            finish();
-            return;
-        }
-
         mCredentials = createCredentialHelper(getIntent());
 
         mState = (savedStates == null) ? STATE_INIT : STATE_RUNNING;