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

Commit 62abb5a4 authored by Hai Zhang's avatar Hai Zhang
Browse files

Add more documentation for isEmergencyAssistanceEnabled().

Bug: 130351486
Test: build
Change-Id: I9dfc0939e12b6e7349c2a1222ff5e7999003a39f
parent b94e7e89
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -10342,11 +10342,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
     */