From 53477531889214c2ef983501b0698beb0495e10e Mon Sep 17 00:00:00 2001 From: Amit Mahajan Date: Thu, 4 Jun 2015 12:05:18 -0700 Subject: [PATCH] Update getVoiceMessageCount() comments. Bug: 21559800 Change-Id: I7a737ae8a93c59391f232b5da6e3b36874126f3a --- telephony/java/android/telephony/TelephonyManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index f29a6ed083998..0c8d669804a4f 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -2291,7 +2291,8 @@ public class TelephonyManager { } /** - * Returns the voice mail count. Return 0 if unavailable. + * Returns the voice mail count. Return 0 if unavailable, -1 if there are unread voice messages + * but the count is unknown, *

* Requires Permission: * {@link android.Manifest.permission#READ_PHONE_STATE READ_PHONE_STATE}