diff options
author | Dianne Hackborn <hackbod@google.com> | 2012-08-16 10:48:27 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2012-08-16 12:46:38 -0700 |
commit | f02b60aa4f367516f40cf3d60fffae0c6fe3e1b8 (patch) | |
tree | 893430514916fc74f4fd008dbcb457c2dd317989 /services/java/com/android/server/am/ProviderMap.java | |
parent | ca34bcf6746454c561b0c07ca5c6e42bd4a73e9e (diff) | |
download | frameworks_base-f02b60aa4f367516f40cf3d60fffae0c6fe3e1b8.zip frameworks_base-f02b60aa4f367516f40cf3d60fffae0c6fe3e1b8.tar.gz frameworks_base-f02b60aa4f367516f40cf3d60fffae0c6fe3e1b8.tar.bz2 |
Rename UserId to UserHandle.
This is the start of turning this into a formal public API.
Change-Id: I5786d2c320f1de41a06ed5d0f65adb68967287a0
Diffstat (limited to 'services/java/com/android/server/am/ProviderMap.java')
-rw-r--r-- | services/java/com/android/server/am/ProviderMap.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/services/java/com/android/server/am/ProviderMap.java b/services/java/com/android/server/am/ProviderMap.java index 405718f..ab2e428 100644 --- a/services/java/com/android/server/am/ProviderMap.java +++ b/services/java/com/android/server/am/ProviderMap.java @@ -20,7 +20,7 @@ import android.content.ComponentName; import android.os.Binder; import android.os.Process; import android.os.RemoteException; -import android.os.UserId; +import android.os.UserHandle; import android.util.Slog; import android.util.SparseArray; @@ -98,7 +98,7 @@ public class ProviderMap { if (record.singleton) { mSingletonByName.put(name, record); } else { - final int userId = UserId.getUserId(record.appInfo.uid); + final int userId = UserHandle.getUserId(record.appInfo.uid); getProvidersByName(userId).put(name, record); } } @@ -111,7 +111,7 @@ public class ProviderMap { if (record.singleton) { mSingletonByClass.put(name, record); } else { - final int userId = UserId.getUserId(record.appInfo.uid); + final int userId = UserHandle.getUserId(record.appInfo.uid); getProvidersByClass(userId).put(name, record); } } |