aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-android/app/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-android/app/src')
-rw-r--r--packages/meshbay-android/app/src/main/kotlin/org/meshbay/client/MainActivity.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/meshbay-android/app/src/main/kotlin/org/meshbay/client/MainActivity.kt b/packages/meshbay-android/app/src/main/kotlin/org/meshbay/client/MainActivity.kt
index a781350..ea31bca 100644
--- a/packages/meshbay-android/app/src/main/kotlin/org/meshbay/client/MainActivity.kt
+++ b/packages/meshbay-android/app/src/main/kotlin/org/meshbay/client/MainActivity.kt
@@ -98,7 +98,9 @@ class MainActivity : Activity() {
domStorageEnabled = true // IndexedDB and localStorage: session, resume positions
allowFileAccess = false
allowContentAccess = false
- mediaPlaybackRequiresUserGesture = true
+ // The page is our own bundled UI. With `true`, WebView wants play() inside the tap
+ // handler itself, and the music player only calls it after fetching the track.
+ mediaPlaybackRequiresUserGesture = false
setSupportMultipleWindows(false)
mixedContentMode = android.webkit.WebSettings.MIXED_CONTENT_NEVER_ALLOW
}