From 207552ff11524bd4051c8695ed1554fcbf0e31f2 Mon Sep 17 00:00:00 2001 From: Aishwarya Mallampati Date: Thu, 29 Dec 2022 20:35:07 +0000 Subject: [PATCH] Make RESULT_USER_NOT_ALLOWED public. Bug: 263279115 Test: atest SmsManagerTest Change-Id: I29219af7b7d795177cefeba6f98b85a2d41eedd0 --- core/api/current.txt | 1 + telephony/java/android/telephony/SmsManager.java | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/core/api/current.txt b/core/api/current.txt index dd3d6eb0fcd87..678fea7a99e78 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -44422,6 +44422,7 @@ package android.telephony { field public static final int RESULT_SMS_SEND_RETRY_FAILED = 30; // 0x1e field public static final int RESULT_SYSTEM_ERROR = 15; // 0xf field public static final int RESULT_UNEXPECTED_EVENT_STOP_SENDING = 28; // 0x1c + field public static final int RESULT_USER_NOT_ALLOWED = 33; // 0x21 field public static final int SMS_RP_CAUSE_CALL_BARRING = 10; // 0xa field public static final int SMS_RP_CAUSE_CONGESTION = 42; // 0x2a field public static final int SMS_RP_CAUSE_DESTINATION_OUT_OF_ORDER = 27; // 0x1b diff --git a/telephony/java/android/telephony/SmsManager.java b/telephony/java/android/telephony/SmsManager.java index a2a110d3f7587..55c5724b70918 100644 --- a/telephony/java/android/telephony/SmsManager.java +++ b/telephony/java/android/telephony/SmsManager.java @@ -2546,8 +2546,6 @@ public final class SmsManager { /** * User is not associated with the subscription. - * TODO(b/263279115): Make this error code public. - * @hide */ public static final int RESULT_USER_NOT_ALLOWED = 33;