File tree 4 files changed +21
-3
lines changed
4 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
3
- package =" com.bumptech.glide.samples.flickr" >
3
+ xmlns : tools =" http://schemas.android.com/tools"
4
+ package =" com.bumptech.glide.samples.flickr" >
4
5
5
6
<uses-permission android : name =" android.permission.INTERNET" />
6
7
<!--
13
14
android : label =" @string/app_name"
14
15
android : icon =" @android:drawable/sym_def_app_icon"
15
16
android : allowBackup =" false"
16
- android : theme =" @style/Theme.AppCompat" >
17
+ android : networkSecurityConfig =" @xml/network_security_config"
18
+ android : theme =" @style/Theme.AppCompat"
19
+ tools : targetApi =" n" >
17
20
18
21
<activity
19
22
android : name =" .FlickrSearchActivity"
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <network-security-config >
3
+ <domain-config cleartextTrafficPermitted =" true" >
4
+ <domain includeSubdomains =" true" >staticflickr.com</domain >
5
+ </domain-config >
6
+ </network-security-config >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
3
+ xmlns : tools =" http://schemas.android.com/tools"
3
4
package =" com.bumptech.glide.samples.imgur" >
4
5
<uses-permission android : name =" android.permission.INTERNET" />
5
6
<!--
14
15
android : roundIcon =" @mipmap/ic_launcher_round"
15
16
android : supportsRtl =" true"
16
17
android : theme =" @style/AppTheme"
17
- android : name =" com.bumptech.glide.samples.imgur.ImgurApplication" >
18
+ android : networkSecurityConfig =" @xml/network_security_config"
19
+ android : name =" com.bumptech.glide.samples.imgur.ImgurApplication"
20
+ tools : targetApi =" n" >
18
21
<activity android : name =" com.bumptech.glide.samples.imgur.MainActivity" >
19
22
<intent-filter >
20
23
<action android : name =" android.intent.action.MAIN" />
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <network-security-config >
3
+ <domain-config cleartextTrafficPermitted =" true" >
4
+ <domain includeSubdomains =" true" >imgur.com</domain >
5
+ </domain-config >
6
+ </network-security-config >
You can’t perform that action at this time.
0 commit comments