diff options
author | Dianne Hackborn <hackbod@google.com> | 2010-06-24 15:07:24 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2010-06-24 15:20:48 -0700 |
commit | 01e4cfc47d0a2c7e7ab383d2fb23224ec52c0301 (patch) | |
tree | 1ea8a7e26b691d9d2150e9ddbd19b04be9b8d5d3 /opengl | |
parent | 7b5b27ada12d3680dec20274fa655fd7f73f839e (diff) | |
download | frameworks_base-01e4cfc47d0a2c7e7ab383d2fb23224ec52c0301.zip frameworks_base-01e4cfc47d0a2c7e7ab383d2fb23224ec52c0301.tar.gz frameworks_base-01e4cfc47d0a2c7e7ab383d2fb23224ec52c0301.tar.bz2 |
Some ActivityThread/ActivityManager cleanup.
- Move PackageInfo out of ActivityThread, renaming to LoadedApk.
- Rename some of the other PacakgeInfo inner classes to better
represent what they are.
- Rename HistoryRecord to ActivityRecord.
- Introduce AppGlobals, to eventually let ActivityThread become
package scoped.
Change-Id: Ib714c54ceb3cdbb525dce3db9505f31042e88cf0
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 30b9325..090c0cb 100644 --- a/opengl/java/com/google/android/gles_jni/GLImpl.java +++ b/opengl/java/com/google/android/gles_jni/GLImpl.java @@ -19,7 +19,7 @@ package com.google.android.gles_jni; -import android.app.ActivityThread; +import android.app.AppGlobals; import android.content.pm.ApplicationInfo; import android.content.pm.IPackageManager; import android.os.Build; @@ -65,7 +65,7 @@ public class GLImpl implements GL10, GL10Ext, GL11, GL11Ext, GL11ExtensionPack { private static boolean allowIndirectBuffers(String appName) { boolean result = false; int version = 0; - IPackageManager pm = ActivityThread.getPackageManager(); + IPackageManager pm = AppGlobals.getPackageManager(); try { ApplicationInfo applicationInfo = pm.getApplicationInfo(appName, 0); if (applicationInfo != null) { |