summaryrefslogtreecommitdiffstats
path: root/src/java/jogamp/common/os/android
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-08-03 11:56:40 +0200
committerSven Gothel <[email protected]>2011-08-03 11:56:40 +0200
commite659f5994875275d4eb46e745676a3d84e27d1e9 (patch)
treeaa8bd6bdcb2a02f1c8fc0b2f89aba0aac6160229 /src/java/jogamp/common/os/android
parentd30d6548baa4fa18c55eb4f9087bca5700463a51 (diff)
Hide DynamicLinker impl.; Remove public AndroidPackageUtil ; GluegenVersionActivity uses ApplicationContext
Hide DynamicLinker impl.: - com.jogamp.common.os.*DynamicLinkerImpl -> jogamp.common.os
Diffstat (limited to 'src/java/jogamp/common/os/android')
-rw-r--r--src/java/jogamp/common/os/android/GluegenVersionActivity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/jogamp/common/os/android/GluegenVersionActivity.java b/src/java/jogamp/common/os/android/GluegenVersionActivity.java
index 34c6fb5..16222b6 100644
--- a/src/java/jogamp/common/os/android/GluegenVersionActivity.java
+++ b/src/java/jogamp/common/os/android/GluegenVersionActivity.java
@@ -43,7 +43,7 @@ public class GluegenVersionActivity extends Activity {
public void onCreate(Bundle savedInstanceState) {
Log.d(MD.TAG, "onCreate - S");
super.onCreate(savedInstanceState);
- PackageInfoUtil.setContext(this);
+ PackageInfoUtil.setContext(this.getApplicationContext());
tv = new TextView(this);
tv.setText(VersionUtil.getPlatformInfo()+Platform.NEWLINE+GlueGenVersion.getInstance()+Platform.NEWLINE+Platform.NEWLINE);
setContentView(tv);
@@ -108,8 +108,8 @@ public class GluegenVersionActivity extends Activity {
if(null != tv) {
tv.append("> destroyed"+Platform.NEWLINE);
}
- PackageInfoUtil.setContext(null);
Log.d(MD.TAG, "onDestroy - x");
+ PackageInfoUtil.setContext(null);
super.onDestroy();
Log.d(MD.TAG, "onDestroy - X");
}