diff options
author | peak3d <pfau@peak3d.de> | 2018-12-05 20:56:15 +0100 |
---|---|---|
committer | peak3d <pfau@peak3d.de> | 2018-12-05 20:56:15 +0100 |
commit | 02a1884845386ea63b9cd58cf0148f52f67cf21d (patch) | |
tree | dcceecd59908d715d719794b1e4c63ef1e96955f /tools | |
parent | 66875e6b8f6e842c949af2c292bba2d2bfccb3a9 (diff) |
Fix failing VideoView creation
Diffstat (limited to 'tools')
-rw-r--r-- | tools/android/packaging/xbmc/src/Main.java.in | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/android/packaging/xbmc/src/Main.java.in b/tools/android/packaging/xbmc/src/Main.java.in index 42a3db3279..d5e6c88381 100644 --- a/tools/android/packaging/xbmc/src/Main.java.in +++ b/tools/android/packaging/xbmc/src/Main.java.in @@ -293,11 +293,7 @@ public class Main extends NativeActivity implements Choreographer.FrameCallback private void runNativeOnUiThread(final long funcAddr, final long variantAddr) { - HandlerThread runThread = new HandlerThread("KodiRunUI"); - runThread.start(); - Handler runHandler = new Handler(runThread.getLooper()); - - runHandler.post(new Runnable() + runOnUiThread(new Runnable() { @Override public void run() |