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

Commit 890a980d authored by Hai Zhang's avatar Hai Zhang Committed by Android (Google) Code Review
Browse files

Merge "Add more documentation for isEmergencyAssistanceEnabled()." into qt-dev

parents 61240f6c 62abb5a4
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -10343,11 +10343,12 @@ public class TelephonyManager {
    }

    /**
     * Determine whether the emergency assistance feature is available on the device.
     * Returns whether {@link TelephonyManager#ACTION_EMERGENCY_ASSISTANCE emergency assistance} is
     * available on the device.
     * <p>
     * Requires permission: {@link android.Manifest.permission#READ_PRIVILEGED_PHONE_STATE}
     *
     * @return whether the emergency assistance feature is available on the device
     * @return {@code true} if emergency assistance is available, {@code false} otherwise
     *
     * @hide
     */