Commit c44be6cc authored by davidben's avatar davidben Committed by Commit bot

Fix networkSecurityConfig for newer versions of Android.

See also https://codereview.chromium.org/2641123006.

BUG=700229

Review-Url: https://codereview.chromium.org/2741193003
Cr-Commit-Position: refs/heads/master@{#456151}
parent ca96544e
...@@ -121,7 +121,7 @@ by a child template that "extends" this file. ...@@ -121,7 +121,7 @@ by a child template that "extends" this file.
{% else %} {% else %}
android:allowBackup="false" android:allowBackup="false"
{% endif %} {% endif %}
{% if target_sdk_version|int >= 24 %} {% if target_sdk_version|int >= 24 or target_sdk_version == 'O' %}
android:networkSecurityConfig="@xml/network_security_config" android:networkSecurityConfig="@xml/network_security_config"
{% endif %} {% endif %}
{% block extra_application_attributes %}{% endblock %}> {% block extra_application_attributes %}{% endblock %}>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment