Allow multiuser use of keystore
Since keystore has been refactored to let muliple users use it simultaneously, we can remove all the restrictions put into place to prevent it. Bug: 7249554 Change-Id: I5aa069ca439cea68e87e141c497be8cd86b0ba9d
This commit is contained in:
@@ -25,7 +25,6 @@ import android.content.res.Resources;
|
||||
import android.os.AsyncTask;
|
||||
import android.os.Bundle;
|
||||
import android.os.RemoteException;
|
||||
import android.os.UserHandle;
|
||||
import android.security.Credentials;
|
||||
import android.security.KeyChain.KeyChainConnection;
|
||||
import android.security.KeyChain;
|
||||
@@ -109,12 +108,6 @@ public final class CredentialStorage extends Activity {
|
||||
protected void onResume() {
|
||||
super.onResume();
|
||||
|
||||
if (UserHandle.myUserId() != UserHandle.USER_OWNER) {
|
||||
Log.i(TAG, "Cannot install to CredentialStorage as non-primary user");
|
||||
finish();
|
||||
return;
|
||||
}
|
||||
|
||||
Intent intent = getIntent();
|
||||
String action = intent.getAction();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user