diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-03-11 00:01:43 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-03-11 00:01:43 +1300 |
commit | 7b077ffe76eabfec886e2bd628c6a32f30f1a799 (patch) | |
tree | 2d4513eedc64055216c3e0c3fb63dcdd336dcee1 /app | |
parent | 68c35b0c14d5e11488aeed22e989a446465fd654 (diff) | |
download | etbsa-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')
-rw-r--r-- | app/src/main/java/org/traccar/manager/MainFragment.java | 1 |
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); |