• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

packages/apps/Settings


コミットメタ情報

リビジョン528c64e205bf1d8f8237fb4e582d152958345b92 (tree)
日時2015-02-02 20:22:02
作者Robin Lee <rgl@goog...>
コミッターAndroid (Google) Code Review

ログメッセージ

Merge "Repair broken keychain wifi_uid logic" into lmp-mr1-dev

変更サマリ

差分

--- a/src/com/android/settings/CredentialStorage.java
+++ b/src/com/android/settings/CredentialStorage.java
@@ -223,9 +223,9 @@ public final class CredentialStorage extends Activity {
223223 Bundle bundle = mInstallBundle;
224224 mInstallBundle = null;
225225
226- final int uid = bundle.getInt(Credentials.EXTRA_INSTALL_AS_UID, -1);
226+ final int uid = bundle.getInt(Credentials.EXTRA_INSTALL_AS_UID, KeyStore.UID_SELF);
227227
228- if (!UserHandle.isSameUser(uid, Process.myUid())) {
228+ if (uid != KeyStore.UID_SELF && !UserHandle.isSameUser(uid, Process.myUid())) {
229229 int dstUserId = UserHandle.getUserId(uid);
230230 int myUserId = UserHandle.myUserId();
231231