From 6b717e03e5b32b33e637c45bad4560b19e2a1581 Mon Sep 17 00:00:00 2001 From: Kevin Hufnagle Date: Mon, 4 Apr 2016 11:15:54 -0700 Subject: [PATCH] docs: Clarified structure of security config file. The code sample under "Adding a Security Configuration File" on the "Network Security Configuration" is now more complete, making it easier for readers to apply a custom network security configuration file to their apps. Bug: 27708827 Change-Id: I241082b92d698b74f805afbac4994eadf3e96915 --- docs/html/preview/features/security-config.jd | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/html/preview/features/security-config.jd b/docs/html/preview/features/security-config.jd index 607e8f3cf5393..42c4ff5ed3cb9 100644 --- a/docs/html/preview/features/security-config.jd +++ b/docs/html/preview/features/security-config.jd @@ -70,12 +70,13 @@ page.keywords=preview,security,network
 <?xml version="1.0" encoding="utf-8"?>
-...
-<application ...>
+<manifest ... >
+  <application ... >
     <meta-data android:name="android.security.net.config"
                android:resource="@xml/network_security_config" />
     ...
-</application>
+  </application>
+</manifest>
 

Customizing Trusted CAs