[ 
https://issues.apache.org/jira/browse/CB-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13496655#comment-13496655
 ] 

Lindsey Simon commented on CB-1185:
-----------------------------------

Hrm... I started looking higher up in my log posted above and found something 
that looks very much like what's being discussed in this thread (and please 
forgive me if somehow is not relevant.. I'm kinda shooting at fish in a barrel 
here).

http://www.jasonshah.com/handling-android-2-3-webviews-broken-addjavascriptinterface/

>From my log:
11-02 16:56:21.263 D/DroidGap(15854): Resuming the App
11-02 16:56:21.263 I/CpuGovernorService(  643): intent action: 
android.intent.action.SCREEN_ON
11-02 16:56:21.263 I/SamplingRateChangeProcessor(  643): Decreased sampling 
rate.
11-02 16:56:21.263 D/CordovaWebView(15854): >>> loadUrlNow()
11-02 16:56:21.263 D/FirewallPolicy(  643): getURLFilterEnabled(true)
11-02 16:56:21.263 D/FirewallPolicy(  643): isUrlBlocked - Policy disabled

...

11-02 16:56:21.563 W/System.err(15854):         at 
android.webkit.BrowserFrame.stringByEvaluatingJavaScriptFromString(Native 
Method)
11-02 16:56:21.563 W/System.err(15854):         at 
android.webkit.BrowserFrame.loadUrl(BrowserFrame.java:303)
11-02 16:56:21.563 W/System.err(15854):         at 
android.webkit.WebViewCore.loadUrl(WebViewCore.java:2817)
11-02 16:56:21.563 W/System.err(15854):         at 
android.webkit.WebViewCore.access$1900(WebViewCore.java:76)
11-02 16:56:21.563 W/System.err(15854):         at 
android.webkit.WebViewCore$EventHub$1.handleMessage(WebViewCore.java:1668)
11-02 16:56:21.563 W/System.err(15854):         at 
android.os.Handler.dispatchMessage(Handler.java:99)
11-02 16:56:21.563 W/System.err(15854):         at 
android.os.Looper.loop(Looper.java:137)
11-02 16:56:21.563 W/System.err(15854):         at 
android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:956)
11-02 16:56:21.563 W/System.err(15854):         at 
java.lang.Thread.run(Thread.java:856)
                
> When Application is placed in background and resumed, the UI is frozen
> ----------------------------------------------------------------------
>
>                 Key: CB-1185
>                 URL: https://issues.apache.org/jira/browse/CB-1185
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Jelly Bean 4.1, ICS 4.0.x
>            Reporter: Greg
>            Assignee: Filip Maj
>         Attachments: 0001-Fix-issue-with-pause-resume-freezing-the-UI.patch, 
> 0002-Uncomment.patch, cordova-2.0.0.jar, issues.zip
>
>
> When using PhoneGap 2.0.0 on ICS or JellyBean, the application freezes up 
> after you set the app to the background or turn of the screen. After around 
> 3-7 seconds, the application unfreezes and pretty much causes a panic and 
> usually crashes. No error reports have been submitted.
> Here is how you re-produce the issue:
> 1. Download Untappd - 
> V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Turn the the screen off and wait about 3-7 minutes
> 4. Turn the screen back on, and the interface should be frozen.
> Another possible path to re-producing the issue:
> 1. Download Untappd - 
> V2.0.4(https://play.google.com/store/apps/details?id=com.untappdllc.app)
> 2. After logging in stay on the Friends tab
> 3. Go back to the home screen then use other apps for about 3-7 minutes.
> 4. Go back into Untappd, and the interface should be frozen.
> When the app is frozen, native menu buttons will not nor any options in the 
> UI. 
> Would love to see if anyone can replicate this. I've tested this on Jelly 
> Bean 4.1.x on a Samsung Galaxy Nexus, but users have been having this problem 
> majority on ICS (4.0.x)
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to