OSDN Git Service

Add comment to TelecomManager.getCallState
authorYorke Lee <yorkelee@google.com>
Tue, 28 Oct 2014 21:12:02 +0000 (14:12 -0700)
committerYorke Lee <yorkelee@google.com>
Tue, 28 Oct 2014 21:12:02 +0000 (14:12 -0700)
commit7c72c2d3c2c4943a914abb2e1598610961db8f57
treed1f88504076a3f5cce62a0705381fd072d738532
parente8d9810cdef5b3e288f54f42adc3205532343406
Add comment to TelecomManager.getCallState

Explain why READ_PHONE_STATE permission is not required so that
people don't try to add it in the future. Requiring the permission
causes stability crashes with legacy apps and system components
that don't have the permission.

Change-Id: Idf8766aa409d4a2c4ed3d6f81a398f4a0eb24615
telecomm/java/android/telecom/TelecomManager.java