[
https://issues.apache.org/jira/browse/CB-5505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe Bowser resolved CB-5505.
----------------------------
Resolution: Fixed
The device plugin no longer needs these permissions since this functionality
has been moved into App. Media should probably ask for these permissions, but
they should probably be optional.
> The Device plugin is missing the permissions needed to read the telephone
> state (ringing, offhook, etc)
> -------------------------------------------------------------------------------------------------------
>
> Key: CB-5505
> URL: https://issues.apache.org/jira/browse/CB-5505
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 3.1.0
> Reporter: Tommy-Carlos Williams
> Assignee: Joe Bowser
>
> There is a telephony receiver in the Device plugin that sends a message to
> all plugins so that they can handle incoming calls etc.
> Currently the only core plugin that listens for those messages is the Media
> plugin so that it can pause playback when a call comes in.
> The Device plugin does NOT however, set the
> android.permission.READ_PHONE_STATE in its plugin.xml so this does not work
> out of the box even if both plugins are installed.
> See: [CB-5504|https://issues.apache.org/jira/browse/CB-5504]
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)