Add more documentation for isEmergencyAssistanceEnabled().

Bug: 130351486
Test: build
Change-Id: I9dfc0939e12b6e7349c2a1222ff5e7999003a39f
This commit is contained in:
Hai Zhang
2019-04-16 13:30:20 +08:00
parent b94e7e89b2
commit 62abb5a4eb

View File

@@ -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
*/