diff options
| author | 2019-02-11 16:30:14 -0800 | |
|---|---|---|
| committer | 2019-02-11 16:30:14 -0800 | |
| commit | ed6a99546d9e1048e4fe986c0012762cdebe69fe (patch) | |
| tree | b97eb415a6dbc4e4c47883b05c7f054618f61810 | |
| parent | 1f2a143d98b72ca74b88f51be9a118c6067d1dbf (diff) | |
| parent | 69a0fb35a6720f029e25110e56d57f72aa933315 (diff) | |
Merge "Clarify PhoneStateListener documentation"
am: 69a0fb35a6
Change-Id: If577a50f1c82f1451f33f89c0537e4fc6a8a9190
| -rw-r--r-- | telephony/java/android/telephony/PhoneStateListener.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/telephony/java/android/telephony/PhoneStateListener.java b/telephony/java/android/telephony/PhoneStateListener.java index fea1b7b08a20..2c9ba1dfff7b 100644 --- a/telephony/java/android/telephony/PhoneStateListener.java +++ b/telephony/java/android/telephony/PhoneStateListener.java @@ -45,7 +45,8 @@ import java.util.concurrent.Executor; * <p> * Override the methods for the state that you wish to receive updates for, and * pass your PhoneStateListener object, along with bitwise-or of the LISTEN_ - * flags to {@link TelephonyManager#listen TelephonyManager.listen()}. + * flags to {@link TelephonyManager#listen TelephonyManager.listen()}. Methods are + * called when the state changes, os well as once on initial registration. * <p> * Note that access to some telephony information is * permission-protected. Your application won't receive updates for protected |