From 43509f3202bba68dbe07d84cca522129fe03b46e Mon Sep 17 00:00:00 2001 From: Rhed Jao Date: Fri, 3 Dec 2021 15:08:50 +0800 Subject: [PATCH] Fix the typos on the java doc Correct "STMP" to "SMTP" in the java doc of the usesCleartextTraffic attribute. Bug: 181732244 Test: build Change-Id: I7ffc81f3e201248f3b58dc5ee243a7cdd969fe23 --- core/java/android/content/pm/ApplicationInfo.java | 2 +- core/res/res/values/attrs_manifest.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/java/android/content/pm/ApplicationInfo.java b/core/java/android/content/pm/ApplicationInfo.java index 2c4ff58892634..84c9fa9b375c3 100644 --- a/core/java/android/content/pm/ApplicationInfo.java +++ b/core/java/android/content/pm/ApplicationInfo.java @@ -409,7 +409,7 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable { /** * Value for {@link #flags}: {@code true} if the application may use cleartext network traffic - * (e.g., HTTP rather than HTTPS; WebSockets rather than WebSockets Secure; XMPP, IMAP, STMP + * (e.g., HTTP rather than HTTPS; WebSockets rather than WebSockets Secure; XMPP, IMAP, SMTP * without STARTTLS or TLS). If {@code false}, the app declares that it does not intend to use * cleartext network traffic, in which case platform components (e.g., HTTP stacks, * {@code DownloadManager}, {@code MediaPlayer}) will refuse app's requests to use cleartext diff --git a/core/res/res/values/attrs_manifest.xml b/core/res/res/values/attrs_manifest.xml index d052d70442c4d..f4acfaa1baca2 100644 --- a/core/res/res/values/attrs_manifest.xml +++ b/core/res/res/values/attrs_manifest.xml @@ -547,7 +547,7 @@