Skip to content

Commit 0d22da4

Browse files
committed
Remove log statements
1 parent 31e7931 commit 0d22da4

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

foremwebview/src/main/java/com/forem/webview/WebViewFragment.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import android.app.Activity
55
import android.content.Intent
66
import android.net.Uri
77
import android.os.Bundle
8-
import android.util.Log
98
import android.view.LayoutInflater
109
import android.view.View
1110
import android.view.ViewGroup
@@ -301,7 +300,6 @@ class WebViewFragment : Fragment(), FileChooserListener {
301300
*/
302301
private fun centrallyHandleBackNavigation(canExitApp: Boolean) {
303302
if (oauthWebView != null && oauthWebViewContainer!!.visibility == View.GONE) {
304-
Log.d("TAGG", "WebViewFragment: centrallyHandleBackNavigation: 1")
305303
// Edge Case: Ideally this case should never arise.
306304
destroyOauthWebView()
307305
if (webView!!.canGoBack()) {
@@ -312,20 +310,16 @@ class WebViewFragment : Fragment(), FileChooserListener {
312310
}
313311
}
314312
} else if (oauthWebView != null && oauthWebViewContainer!!.visibility == View.VISIBLE) {
315-
Log.d("TAGG", "WebViewFragment: centrallyHandleBackNavigation: 2")
316313
// Case where oauthWebView is active.
317314
if (oauthWebView!!.canGoBack()) {
318315
oauthWebView?.goBack()
319316
} else {
320317
destroyOauthWebView()
321318
}
322319
} else if (oauthWebView == null && webView!=null && webView!!.canGoBack()) {
323-
Log.d("TAGG", "WebViewFragment: centrallyHandleBackNavigation: 3")
324320
// Case where oauthWebView is fully inactive.
325-
Log.d("TAGG", "centrallyHandleBackNavigation: canGoBack: " + webView?.canGoBack())
326321
webView?.goBack()
327322
} else {
328-
Log.d("TAGG", "WebViewFragment: centrallyHandleBackNavigation: 4")
329323
if (canExitApp) {
330324
handleHomePageReached()
331325
}

0 commit comments

Comments
 (0)