Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 96bba0f5 authored by Sarah Chin's avatar Sarah Chin
Browse files

Update TelephonyDisplayInfo docs

Explain how to get TelephonyDisplayInfo through TelephonyManager and
PhoneStateListener

Test: build
Fix: 158760752
Change-Id: Ia59efcf68c77d79be1a223f9fd6cbf3ec333478a
Merged-In: Ia59efcf68c77d79be1a223f9fd6cbf3ec333478a
parent 2046b3f1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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 {
    /**