Skip to content

Commit 227bf3b

Browse files
committed
Correcting lint warning: uses-permission should be declared before
application in AndroidManifest.xml
1 parent f8e75fd commit 227bf3b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
package="com.google.firebase.installations">
4-
4+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
5+
<uses-permission android:name="android.permission.INTERNET" />
56
<application>
67
<service
78
android:name="com.google.firebase.components.ComponentDiscoveryService"
@@ -11,7 +12,4 @@
1112
android:value="com.google.firebase.components.ComponentRegistrar" />
1213
</service>
1314
</application>
14-
15-
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
16-
<uses-permission android:name="android.permission.INTERNET" />
1715
</manifest>

0 commit comments

Comments
 (0)