diff options
| author | 2021-01-21 22:43:15 +0000 | |
|---|---|---|
| committer | 2021-01-21 22:43:15 +0000 | |
| commit | a906fd5e141ca76133f2fd2abe32d11ed98503a7 (patch) | |
| tree | b400b404e98e5657d66fe3bd6760bad4e6842821 | |
| parent | 8c9bf65b8bc6a70afdc1d6ad7c15229871136931 (diff) | |
| parent | 96bba0f57a70b4f8fe04ca260a68a9e39d0c13b9 (diff) | |
Merge "Update TelephonyDisplayInfo docs"
| -rw-r--r-- | telephony/java/android/telephony/TelephonyDisplayInfo.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/TelephonyDisplayInfo.java b/telephony/java/android/telephony/TelephonyDisplayInfo.java index 3d5c6aad1042..1fcb504e7895 100644 --- a/telephony/java/android/telephony/TelephonyDisplayInfo.java +++ b/telephony/java/android/telephony/TelephonyDisplayInfo.java @@ -29,6 +29,10 @@ import java.util.Objects; * information is provided in accordance with carrier policy and branding preferences; it is not * necessarily a precise or accurate representation of the current state and should be treated * accordingly. + * To be notified of changes in TelephonyDisplayInfo, use + * {@link TelephonyManager#registerPhoneStateListener} with a {@link PhoneStateListener} + * that implements {@link PhoneStateListener.DisplayInfoChangedListener}. + * Override the onDisplayInfoChanged() method to handle the broadcast. */ public final class TelephonyDisplayInfo implements Parcelable { /** |