commit | 309b2f63f3265c341f6a43cbca2fb25f9c38109a | [log] [tgz] |
---|---|---|
author | Fyodor Kupolov <fkupolov@google.com> | Wed Jun 03 16:29:01 2015 -0700 |
committer | Fyodor Kupolov <fkupolov@google.com> | Tue Jun 09 12:44:39 2015 -0700 |
tree | 0ee8b1d211ca239ccec8533763df352576afcc3f | |
parent | 66f6cd63b710e0accf15c584c0bda26561425931 [diff] |
Do not enforce PHONE_STATE_PERMISSION to register listener PHONE_STATE_PERMISSION should not be required to register to the following event types: - PhoneStateListener.LISTEN_CALL_STATE - PhoneStateListener.LISTEN_DATA_ACTIVITY - PhoneStateListener.LISTEN_DATA_CONNECTION_STATE In case of LISTEN_CALL_STATE, an empty string should be passed instead of incomingNumber, when caller has no PHONE_STATE_PERMISSION. Bug: 21588537 Change-Id: I5b6d0308924f7e4cd13a983b8e0c9b3a5bbb119b