summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgfan <gfan@google.com>2018-08-14 10:14:14 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-08-14 10:14:14 -0700
commit568a222ba52ad24391bde6ae018551b4eb0da281 (patch)
treed3b56fb122cdc296753d0a21f8ddc9eb58f0fcbf
parentd5766a45c245826951cefc5915661a0be7946c97 (diff)
parentfe2c2c1cb0d5001ecb89ee17924243d1339c1126 (diff)
downloadwilhelm-568a222ba52ad24391bde6ae018551b4eb0da281.tar.gz
Merge "Enable thread to call Java from GenericPlayer" am: db8296e205
am: fe2c2c1cb0 Change-Id: Ic0c7cc9f957cdb727067faf585e3439b6d264047
-rw-r--r--src/android/android_GenericPlayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/android_GenericPlayer.cpp b/src/android/android_GenericPlayer.cpp
index 3a8960c..b3afc1b 100644
--- a/src/android/android_GenericPlayer.cpp
+++ b/src/android/android_GenericPlayer.cpp
@@ -71,7 +71,7 @@ void GenericPlayer::init(const notif_cbf_t cbf, void* notifUser) {
}
mLooper->registerHandler(this);
- mLooper->start(false /*runOnCallingThread*/, false /*canCallJava*/, PRIORITY_DEFAULT);
+ mLooper->start(false /*runOnCallingThread*/, true /*canCallJava*/, PRIORITY_DEFAULT);
}