am 528c64e2
: Merge "Repair broken keychain wifi_uid logic" into lmp-mr1-dev
automerge: d16231d
* commit 'd16231de248aeb5aeccb8f4aa226a2f1b34cc082':
Repair broken keychain wifi_uid logic
This commit is contained in:
@@ -223,9 +223,9 @@ public final class CredentialStorage extends Activity {
|
||||
Bundle bundle = mInstallBundle;
|
||||
mInstallBundle = null;
|
||||
|
||||
final int uid = bundle.getInt(Credentials.EXTRA_INSTALL_AS_UID, -1);
|
||||
final int uid = bundle.getInt(Credentials.EXTRA_INSTALL_AS_UID, KeyStore.UID_SELF);
|
||||
|
||||
if (!UserHandle.isSameUser(uid, Process.myUid())) {
|
||||
if (uid != KeyStore.UID_SELF && !UserHandle.isSameUser(uid, Process.myUid())) {
|
||||
int dstUserId = UserHandle.getUserId(uid);
|
||||
int myUserId = UserHandle.myUserId();
|
||||
|
||||
|
Reference in New Issue
Block a user