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 /opengl | |
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 'opengl')
-rw-r--r-- | opengl/java/com/google/android/gles_jni/GLImpl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opengl/java/com/google/android/gles_jni/GLImpl.java b/opengl/java/com/google/android/gles_jni/GLImpl.java index 07f9e91..6b23be9 100644 --- a/opengl/java/com/google/android/gles_jni/GLImpl.java +++ b/opengl/java/com/google/android/gles_jni/GLImpl.java @@ -23,7 +23,7 @@ import android.app.AppGlobals; import android.content.pm.ApplicationInfo; import android.content.pm.IPackageManager; import android.os.Build; -import android.os.UserId; +import android.os.UserHandle; import android.util.Log; import java.nio.Buffer; @@ -68,7 +68,7 @@ public class GLImpl implements GL10, GL10Ext, GL11, GL11Ext, GL11ExtensionPack { int version = 0; IPackageManager pm = AppGlobals.getPackageManager(); try { - ApplicationInfo applicationInfo = pm.getApplicationInfo(appName, 0, UserId.myUserId()); + ApplicationInfo applicationInfo = pm.getApplicationInfo(appName, 0, UserHandle.myUserId()); if (applicationInfo != null) { version = applicationInfo.targetSdkVersion; } |