TheFinestArtist / FinestWebView-Android

Beautiful and customizable Android Activity that shows web pages within an app.
https://finestwebview.web.app
2.32k stars 531 forks source link

App freezing #137

Open duetdroid2018 opened 6 years ago

duetdroid2018 commented 6 years ago

Hi,

When I am using this library, I meet an app freezing problem. If I set the variable as follows: showIconBack=false,rtl=false,gradientDivider=false,showIconMenu=false,updateTitleFromHtml=true,disableIconForward=false,showMenuOpenWith=false,showDivider=false,showMenuFind=true,disableIconClose=false,showIconClose=false,backPressToClose=false,showSwipeRefreshLayout=false,showMenuRefresh=false,showProgressBar=true,showUrl=false,disableIconMenu=false,showMenuCopyLink=true,disableIconBack=false,showMenuShareVia=true,showIconForward=false The demo app is freezing.

Logcat print the following message infinitely:

12-07 20:49:26.514 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:26.518 3215 3397 W QCNEJ : |CORE| CNE received unexpected action: android.intent.action.BATTERY_CHANGED 12-07 20:49:26.519 2340 2885 I AbsQuickSettingsHandlerBase: Got action android.intent.action.BATTERY_CHANGED for BATTERY_SAVER 12-07 20:49:26.526 1787 2271 D WifiController: battery changed pluggedType: 2 12-07 20:49:26.569 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:26.640 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:26.652 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:26.721 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:26.732 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:26.809 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:26.820 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:26.920 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:27.020 1787 2281 V WifiServerServiceExt: checkPollTimer Cnt= 0 rssi =-60 threshold=-100 12-07 20:49:27.106 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:27.236 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:27.246 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:27.275 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:27.288 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:27.316 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:27.326 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:27.355 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:27.368 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:28.249 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:28.307 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:28.342 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:28.354 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:28.426 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:28.440 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:28.517 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:28.529 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:28.558 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:28.570 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:28.642 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:28.655 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:28.687 31900 31907 I art : Starting a blocking GC Instrumentation 12-07 20:49:28.712 31900 31907 I art : Waiting for a blocking GC Instrumentation

It seems that there are memory leakage somewhere, but I can not find the exact reason. I am sure there is no memory leak in my demo app.

Regards