aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-09-18 11:11:34 +0200
committerSven Gothel <[email protected]>2015-09-18 11:11:34 +0200
commit7187046a1ddac65aec195de935df1d5bc9d8e67c (patch)
tree7144064e3586b965d0db511e1d7d1fab35e37079
parent3e40d97a9a7a60e746b3703d2c7d3f4884159a52 (diff)
Fix Android LauncherTempFileCache: Cannot use gluegen-rt dependencies
GlueGen'w runtime dependency com.jogamp.common.util.InterruptSource was introduced in commit 1c4e2d3ea379fe6578dfb84e10f22729b71b1ae5 but the launcher loads the same ..
-rw-r--r--src/java/jogamp/android/launcher/LauncherTempFileCache.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/java/jogamp/android/launcher/LauncherTempFileCache.java b/src/java/jogamp/android/launcher/LauncherTempFileCache.java
index b576ed9..6836dd9 100644
--- a/src/java/jogamp/android/launcher/LauncherTempFileCache.java
+++ b/src/java/jogamp/android/launcher/LauncherTempFileCache.java
@@ -34,8 +34,6 @@ import java.io.IOException;
import java.nio.channels.FileChannel;
import java.nio.channels.FileLock;
-import com.jogamp.common.util.InterruptSource;
-
import android.content.Context;
public class LauncherTempFileCache {
@@ -225,7 +223,7 @@ public class LauncherTempFileCache {
// Add shutdown hook to cleanup the OutputStream, FileChannel,
// and FileLock for the jlnNNNN.lck and jlnNNNN.lck files.
// We do this so that the locks never get garbage-collected.
- Runtime.getRuntime().addShutdownHook(new InterruptSource.Thread() {
+ Runtime.getRuntime().addShutdownHook(new Thread() {
/* @Override */
public void run() {
// NOTE: we don't really expect that this code will ever
@@ -251,7 +249,7 @@ public class LauncherTempFileCache {
}
// Start a new Reaper thread to do stuff...
- final Thread reaperThread = new InterruptSource.Thread() {
+ final Thread reaperThread = new Thread() {
/* @Override */
public void run() {
deleteOldTempDirs();