aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/web/FrostChromeClient.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-07-13 15:08:06 -0700
committerGitHub <noreply@github.com>2017-07-13 15:08:06 -0700
commit1d364a1f5a8322ce8fbe200fcc9f5a41f91b41e8 (patch)
treeefef20bdba32bcd0fbbdd303dfd01018b4871e01 /app/src/main/kotlin/com/pitchedapps/frost/web/FrostChromeClient.kt
parent91119de328bf5f4e8c945f8fb470453319b9f0ed (diff)
downloadfrost-1d364a1f5a8322ce8fbe200fcc9f5a41f91b41e8.tar.gz
frost-1d364a1f5a8322ce8fbe200fcc9f5a41f91b41e8.tar.bz2
frost-1d364a1f5a8322ce8fbe200fcc9f5a41f91b41e8.zip
Only use basic user agent when necessary (#59)
* Log more iab and web chrome * Only add basic user string for messages * Clean up logging
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/web/FrostChromeClient.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/web/FrostChromeClient.kt8
1 files changed, 2 insertions, 6 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostChromeClient.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostChromeClient.kt
index 363bf795..aab3a165 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostChromeClient.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostChromeClient.kt
@@ -1,6 +1,8 @@
package com.pitchedapps.frost.web
import android.net.Uri
+import android.os.Message
+import android.view.View
import android.webkit.*
import ca.allanwang.kau.utils.snackbar
import com.pitchedapps.frost.contracts.ActivityWebContract
@@ -39,10 +41,4 @@ class FrostChromeClient(webCore: FrostWebViewCore) : WebChromeClient() {
return activityContract != null
}
- override fun onGeolocationPermissionsShowPrompt(origin: String, callback: GeolocationPermissions.Callback) {
- super.onGeolocationPermissionsShowPrompt(origin, callback)
- L.d("Geo prompt")
- }
-
-
} \ No newline at end of file