aboutsummaryrefslogtreecommitdiffstats
path: root/android/src/Main.java
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-03-01 20:20:29 +0100
committerMax Kellermann <max@duempel.org>2014-03-01 22:20:28 +0100
commitb8f1850bba98685e978025041e495198627b57f5 (patch)
treea406368074249d77e84572a4f228ea1fcfd19104 /android/src/Main.java
parent5268f55344229f70e3565f63671eb582eaff733f (diff)
downloadmpd-b8f1850bba98685e978025041e495198627b57f5.tar.gz
mpd-b8f1850bba98685e978025041e495198627b57f5.tar.xz
mpd-b8f1850bba98685e978025041e495198627b57f5.zip
db/Configured: store database file in cache directory
Add class Context which wraps the Android/Java Context class and add a JNI wrapper for method Context.getCacheDir().
Diffstat (limited to '')
-rw-r--r--android/src/Main.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/src/Main.java b/android/src/Main.java
index 01974af6d..3910c850d 100644
--- a/android/src/Main.java
+++ b/android/src/Main.java
@@ -57,6 +57,6 @@ public class Main extends Activity implements Runnable {
}
@Override public void run() {
- Bridge.run();
+ Bridge.run(this);
}
}