diff options
Diffstat (limited to 'android')
-rw-r--r-- | android/src/Bridge.java | 4 | ||||
-rw-r--r-- | android/src/Main.java | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/android/src/Bridge.java b/android/src/Bridge.java index d1dfec894..dc487fe30 100644 --- a/android/src/Bridge.java +++ b/android/src/Bridge.java @@ -19,9 +19,11 @@ package org.musicpd; +import android.content.Context; + /** * Bridge to native code. */ public class Bridge { - public static native void run(); + public static native void run(Context context); } 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); } } |