Skip to content

Commit aae29dc

Browse files
committed
Update MainActivity.kt
1 parent 6b6bf83 commit aae29dc

File tree

1 file changed

+0
-3
lines changed
  • 1.hello-world/14.read-video-webview/android/app/src/main/java/com/dynamsoft/dbrjswebview

1 file changed

+0
-3
lines changed

1.hello-world/14.read-video-webview/android/app/src/main/java/com/dynamsoft/dbrjswebview/MainActivity.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import android.content.pm.PackageManager
66
import android.net.Uri
77
import androidx.appcompat.app.AppCompatActivity
88
import android.os.Bundle
9-
import android.util.Log
109
import android.webkit.*
1110
import androidx.activity.result.contract.ActivityResultContracts
1211
import androidx.annotation.RequiresApi
@@ -24,8 +23,6 @@ class MainActivity : AppCompatActivity() {
2423
myWebView.settings.javaScriptEnabled = true
2524
myWebView.settings.mediaPlaybackRequiresUserGesture = false
2625
myWebView.settings.domStorageEnabled = true
27-
Log.d("keillion Debug", "`myWebView.settings.cacheMode` default value: " + myWebView.settings.cacheMode.toString())
28-
myWebView.settings.cacheMode = WebSettings.LOAD_DEFAULT
2926

3027
myWebView.webViewClient = MyWebViewClient()
3128
myWebView.webChromeClient = MyWebChromeClient()

0 commit comments

Comments
 (0)