diff options
author | Alex Klyubin <klyubin@google.com> | 2015-04-21 22:11:33 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-04-21 22:11:34 +0000 |
commit | d14a15a75439ebdbe880979066157280c76428d2 (patch) | |
tree | 6d9f331ab1aa105489a3f9c0cfc5a06a0ca5cbed /core/java/android/content | |
parent | bb2979d61c9cabd6f0476cc9e2121616d8001567 (diff) | |
parent | fbf4599a8edfc31585f207c434d35200a03657b4 (diff) | |
download | frameworks_base-d14a15a75439ebdbe880979066157280c76428d2.zip frameworks_base-d14a15a75439ebdbe880979066157280c76428d2.tar.gz frameworks_base-d14a15a75439ebdbe880979066157280c76428d2.tar.bz2 |
Merge "Document that WebView doesn't honor "uses cleartext traffic" flag."
Diffstat (limited to 'core/java/android/content')
-rw-r--r-- | core/java/android/content/pm/ApplicationInfo.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/core/java/android/content/pm/ApplicationInfo.java b/core/java/android/content/pm/ApplicationInfo.java index e2701ee..6c32873 100644 --- a/core/java/android/content/pm/ApplicationInfo.java +++ b/core/java/android/content/pm/ApplicationInfo.java @@ -339,8 +339,14 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable { * (e.g., HTTP rather than HTTPS; WebSockets rather than WebSockets Secure; XMPP, IMAP, STMP * 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 WebView}, {@code DownloadManager}, {@code MediaPlayer}) will refuse app's requests to - * use cleartext traffic. Third-party libraries are encouraged to honor this flag as well. + * {@code DownloadManager}, {@code MediaPlayer}) will refuse app's requests to use cleartext + * traffic. Third-party libraries are encouraged to honor this flag as well. + * + * <p>NOTE: {@code WebView} does not honor this flag. + * + * <p>This flag comes from + * {@link android.R.styleable#AndroidManifestApplication_usesCleartextTraffic + * android:usesCleartextTraffic} of the <application> tag. */ public static final int FLAG_USES_CLEARTEXT_TRAFFIC = 1<<27; |