You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2014/09/15 19:39:34 UTC
[jira] [Resolved] (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:all-tabpanel ]
Joe Bowser resolved CB-5372.
----------------------------
Resolution: Duplicate
CB-7538 has a fix.
> 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, Plugin Dialogs
> 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.3.4#6332)