Merge "Update PhoneStateListener#onCallStateChanged Javadoc." am: 6e41b2c5c8
am: 67c9a43605
Change-Id: If333cd7cee4785779cdd4acc8421059c4a947dd2
This commit is contained in:
@@ -408,7 +408,7 @@ public class PhoneStateListener {
|
||||
/**
|
||||
* Callback invoked when device call state changes.
|
||||
* @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
|
||||
* string will be passed as an argument.
|
||||
*
|
||||
@@ -416,7 +416,7 @@ public class PhoneStateListener {
|
||||
* @see TelephonyManager#CALL_STATE_RINGING
|
||||
* @see TelephonyManager#CALL_STATE_OFFHOOK
|
||||
*/
|
||||
public void onCallStateChanged(int state, String incomingNumber) {
|
||||
public void onCallStateChanged(int state, String phoneNumber) {
|
||||
// default implementation empty
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user