Skip to content

Commit 817e07b

Browse files
set permission required only upto android 5.1 (#5863)
Signed-off-by: parneet-guraya <[email protected]>
1 parent 82c7dcf commit 817e07b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
android:maxSdkVersion="29"/>
1414
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
1515
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
16-
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
16+
<!-- Permission needed up to Android 5.1, see https://github.com/commons-app/apps-android-commons/pull/5863 -->
17+
<uses-permission android:name="android.permission.GET_ACCOUNTS"
18+
android:maxSdkVersion="22"/>
1719
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
1820
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
1921
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>

0 commit comments

Comments
 (0)