From 7b077ffe76eabfec886e2bd628c6a32f30f1a799 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 11 Mar 2017 00:01:43 +1300 Subject: Fix sound playback issue --- app/src/main/java/org/traccar/manager/MainFragment.java | 1 + 1 file changed, 1 insertion(+) (limited to 'app') 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); -- cgit v1.2.3