Skip to content

Commit

Permalink
Remove network permission explicitly
Browse files Browse the repository at this point in the history
Signed-off-by: Patryk Miś <foss@patrykmis.com>
  • Loading branch information
PatrykMis committed Mar 12, 2024
1 parent 1a55875 commit b892a0e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion braille/brailledisplay/src/phone/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" android:maxSdkVersion="30" />
<uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="30" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" android:maxSdkVersion="30" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission
android:name="android.permission.INTERNET"
tools:node="remove" />
<!-- Bluetooth permissions introduced in API level 31. -->
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" android:usesPermissionFlags="neverForLocation" />
Expand Down
8 changes: 6 additions & 2 deletions talkback/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,12 @@
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/>

<!-- Required for sending data to Google Analytics. -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission
android:name="android.permission.INTERNET"
tools:node="remove" />
<uses-permission
android:name="android.permission.ACCESS_NETWORK_STATE"
tools:node="remove" />

<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />

Expand Down

0 comments on commit b892a0e

Please sign in to comment.