Merge "Update PhoneStateListener#onCallStateChanged Javadoc."
am: 6e41b2c5c8
Change-Id: I9fd9ab01b770fc8a1c5998d3a4c3e824123e2076
This commit is contained in:
@@ -408,7 +408,7 @@ public class PhoneStateListener {
|
|||||||
/**
|
/**
|
||||||
* Callback invoked when device call state changes.
|
* Callback invoked when device call state changes.
|
||||||
* @param state call state
|
* @param state call state
|
||||||
* @param incomingNumber incoming call phone number. If application does not have
|
* @param phoneNumber call phone number. If application does not have
|
||||||
* {@link android.Manifest.permission#READ_PHONE_STATE READ_PHONE_STATE} permission, an empty
|
* {@link android.Manifest.permission#READ_PHONE_STATE READ_PHONE_STATE} permission, an empty
|
||||||
* string will be passed as an argument.
|
* string will be passed as an argument.
|
||||||
*
|
*
|
||||||
@@ -416,7 +416,7 @@ public class PhoneStateListener {
|
|||||||
* @see TelephonyManager#CALL_STATE_RINGING
|
* @see TelephonyManager#CALL_STATE_RINGING
|
||||||
* @see TelephonyManager#CALL_STATE_OFFHOOK
|
* @see TelephonyManager#CALL_STATE_OFFHOOK
|
||||||
*/
|
*/
|
||||||
public void onCallStateChanged(int state, String incomingNumber) {
|
public void onCallStateChanged(int state, String phoneNumber) {
|
||||||
// default implementation empty
|
// default implementation empty
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user