From dbe19076886a386c3e8f13fe690a5d17db43bf6e Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Tue, 24 May 2022 23:06:17 +0000 Subject: [PATCH] Revise documentation for RESULT_SMS_RECEIVED_WHILE_ENCRYPTED Address more feedback from the API council. Bug: 233801960 Change-Id: I08d6298b1afb057a3931a6085ccdca70a3cb55e5 --- core/java/android/provider/Telephony.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/core/java/android/provider/Telephony.java b/core/java/android/provider/Telephony.java index cbfd805d23639..154fcab8827d3 100644 --- a/core/java/android/provider/Telephony.java +++ b/core/java/android/provider/Telephony.java @@ -931,9 +931,10 @@ public final class Telephony { * Set as a "result" extra in the {@link #SMS_REJECTED_ACTION} intent to indicate an sms * was received while the phone was in encrypted state. *

- * This result is never used on devices that launched with Android 10 (API level 29) or - * higher, since Android's storage encryption implementation has changed and it no - * longer can cause the rejection of incoming SMS messages. + * This result code is only used on devices that use Full Disk Encryption. Support for + * Full Disk Encryption was entirely removed in API level 33, having been replaced by + * File Based Encryption. Devices that use File Based Encryption never reject incoming + * SMS messages due to the encryption state. */ public static final int RESULT_SMS_RECEIVED_WHILE_ENCRYPTED = 9;