diff options
author | Alex Klyubin <klyubin@google.com> | 2015-04-21 13:44:29 -0700 |
---|---|---|
committer | Alex Klyubin <klyubin@google.com> | 2015-04-21 14:50:39 -0700 |
commit | fbf4599a8edfc31585f207c434d35200a03657b4 (patch) | |
tree | 8967b5bb9c798d075ac5babccc8d3ea10094015f /core/java/android/content | |
parent | 19f1faa376c08edbd2c7e19ad33107e1b9520777 (diff) | |
download | frameworks_base-fbf4599a8edfc31585f207c434d35200a03657b4.zip frameworks_base-fbf4599a8edfc31585f207c434d35200a03657b4.tar.gz frameworks_base-fbf4599a8edfc31585f207c434d35200a03657b4.tar.bz2 |
Document that WebView doesn't honor "uses cleartext traffic" flag.
Bug: 19215516
Change-Id: I5dbbaa03f3cae007c0b9b68fcf8cc8f250c16a62
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; |