delight-im / delight-im/Android-AdvancedWebView

Why does the WebView call resumeTimers/pauseTimers ?

Open
#251 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Java
Stars
2.4k
Forks
578
PR merge metrics
No merged PRs in 30d

Description

Hey,
Hey why do you call resumeTimers /pauseTimers in onResume/onPause ?
These functions affect all WebViews in the app.

You can see In onPause comment.
[https://android.googlesource.com/platform/frameworks/base/+/a5408e6/core/java/android/webkit/WebView.java#1140](url)

That calling webView.onPause should be enough.

This affects all webViews that don't call these functions.

Thanks

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.