aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-03-11 00:01:43 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-03-11 00:01:43 +1300
commit7b077ffe76eabfec886e2bd628c6a32f30f1a799 (patch)
tree2d4513eedc64055216c3e0c3fb63dcdd336dcee1 /app/src/main/java/org
parent68c35b0c14d5e11488aeed22e989a446465fd654 (diff)
downloadetbsa-traccar-manager-android-7b077ffe76eabfec886e2bd628c6a32f30f1a799.tar.gz
etbsa-traccar-manager-android-7b077ffe76eabfec886e2bd628c6a32f30f1a799.tar.bz2
etbsa-traccar-manager-android-7b077ffe76eabfec886e2bd628c6a32f30f1a799.zip
Fix sound playback issue
Diffstat (limited to 'app/src/main/java/org')
-rw-r--r--app/src/main/java/org/traccar/manager/MainFragment.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/java/org/traccar/manager/MainFragment.java b/app/src/main/java/org/traccar/manager/MainFragment.java
index 4d88b2f..6e099ad 100644
--- a/app/src/main/java/org/traccar/manager/MainFragment.java
+++ b/app/src/main/java/org/traccar/manager/MainFragment.java
@@ -65,6 +65,7 @@ public class MainFragment extends WebViewFragment {
webSettings.setJavaScriptEnabled(true);
webSettings.setDomStorageEnabled(true);
webSettings.setDatabaseEnabled(true);
+ webSettings.setMediaPlaybackRequiresUserGesture(false);
String url = PreferenceManager.getDefaultSharedPreferences(
getActivity()).getString(MainActivity.PREFERENCE_URL, null);