From 62abb5a4ebc2a6f351f4a6ddcd76150ec4cbe4a1 Mon Sep 17 00:00:00 2001 From: Hai Zhang Date: Tue, 16 Apr 2019 13:30:20 +0800 Subject: [PATCH] Add more documentation for isEmergencyAssistanceEnabled(). Bug: 130351486 Test: build Change-Id: I9dfc0939e12b6e7349c2a1222ff5e7999003a39f --- telephony/java/android/telephony/TelephonyManager.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 0d3bc1db831fb..42ab7ab07e87a 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -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. *

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