[jira] [Commented] (CB-5372) Notification.beep blocks app execution - doesn't use CordovaInterface.getThreadPool
[ https://issues.apache.org/jira/browse/CB-5372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13858656#comment-13858656 ] Sungyun commented on CB-5372: - I met same issue with Cordova 3.3.0 on Android 4.3. I think this issue is blocker because PhoneGap official sample show same problem. http://docs.phonegap.com/en/3.3.0/cordova_notification_notification.md.html#notification.beep Notification.beep blocks app execution - doesn't use CordovaInterface.getThreadPool --- Key: CB-5372 URL: https://issues.apache.org/jira/browse/CB-5372 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 3.1.0 Reporter: Michael Schmidt Priority: Minor Calling a simple beep notification for 5 seconds blocks the whole app for this time {quote} navigator.notification.beep(5); {quote} Debug console output is as follows: {quote} 11-13 12:07:09.845: W/PluginManager(14561): THREAD WARNING: exec() call to Notification.beep blocked the main thread for 10507ms. Plugin should use CordovaInterface.getThreadPool(). {quote} App runs on Android 4.1 -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Commented] (CB-5372) Notification.beep blocks app execution - doesn't use CordovaInterface.getThreadPool
[ https://issues.apache.org/jira/browse/CB-5372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13823821#comment-13823821 ] Mike Billau commented on CB-5372: - I think that the beep has always blocked the UI...I think this is more of a feature request and not a bug caused by not using a thread pool. Notification.beep blocks app execution - doesn't use CordovaInterface.getThreadPool --- Key: CB-5372 URL: https://issues.apache.org/jira/browse/CB-5372 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 3.1.0 Reporter: Michael Schmidt Priority: Blocker Calling a simple beep notification for 5 seconds blocks the whole app for this time {quote} navigator.notification.beep(5); {quote} Debug console output is as follows: {quote} 11-13 12:07:09.845: W/PluginManager(14561): THREAD WARNING: exec() call to Notification.beep blocked the main thread for 10507ms. Plugin should use CordovaInterface.getThreadPool(). {quote} App runs on Android 4.1 -- This message was sent by Atlassian JIRA (v6.1#6144)
[jira] [Commented] (CB-5372) Notification.beep blocks app execution - doesn't use CordovaInterface.getThreadPool
[ https://issues.apache.org/jira/browse/CB-5372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13824179#comment-13824179 ] Michael Schmidt commented on CB-5372: - Rather a regression - to my understanding Cordova 1.x didn't do this - at least for Cordova 1.7 I'm sure Notification.beep blocks app execution - doesn't use CordovaInterface.getThreadPool --- Key: CB-5372 URL: https://issues.apache.org/jira/browse/CB-5372 Project: Apache Cordova Issue Type: Bug Components: Android Affects Versions: 3.1.0 Reporter: Michael Schmidt Priority: Blocker Calling a simple beep notification for 5 seconds blocks the whole app for this time {quote} navigator.notification.beep(5); {quote} Debug console output is as follows: {quote} 11-13 12:07:09.845: W/PluginManager(14561): THREAD WARNING: exec() call to Notification.beep blocked the main thread for 10507ms. Plugin should use CordovaInterface.getThreadPool(). {quote} App runs on Android 4.1 -- This message was sent by Atlassian JIRA (v6.1#6144)