Modern Apps git

← Modern-Apps.git

notes: strip unused network permissions (#808)

Commit
13073d29d82b1fb6052cbcf52ed16369739d9d6d
Author
vayun-mathur <[email protected]>
When
2026-10-13 19:37 UTC (1 month ago)
Parents
faec05a

Diff

notes/src/main/AndroidManifest.xml
diff --git a/notes/src/main/AndroidManifest.xml b/notes/src/main/AndroidManifest.xmlindex f28fd3d9e0..a106e798d9 100644--- a/notes/src/main/AndroidManifest.xml+++ b/notes/src/main/AndroidManifest.xml@@ -1,5 +1,12 @@ <?xml version="1.0" encoding="utf-8"?>-<manifest xmlns:android="http://schemas.android.com/apk/res/android">+<manifest xmlns:android="http://schemas.android.com/apk/res/android"+    xmlns:tools="http://schemas.android.com/tools">++    <!-- No network, deliberately: local notes only. :library:image merges in+         INTERNET (its HttpFetcher) and ACCESS_NETWORK_STATE, neither+         of which this app uses, so both are stripped here like music/ does. -->+    <uses-permission android:name="android.permission.INTERNET" tools:node="remove" />+    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" tools:node="remove" />      <permission         android:name="com.vayunmathur.notes.permissions.ACCESS_NOTES"