mirror of
https://github.com/greenart7c3/Amber.git
synced 2026-10-05 19:08:23 +00:00
Remove REQUEST_INSTALL_PACKAGES from offline (F-Droid) build
The offline flavor manifest already strips network permissions via tools:node="remove". Add the same for REQUEST_INSTALL_PACKAGES so the self-updater permission is absent from F-Droid builds, consistent with the check-offline-permissions.yml CI workflow. https://claude.ai/code/session_01NmFcCFmEbY7NMradkEU5bv
This commit is contained in:
@@ -2,10 +2,11 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<!-- Explicitly remove INTERNET permission — offline flavor has no network stack -->
|
||||
<!-- Explicitly remove network/install permissions — offline flavor has no network stack -->
|
||||
<uses-permission android:name="android.permission.INTERNET" tools:node="remove" />
|
||||
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" tools:node="remove" />
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" tools:node="remove" />
|
||||
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" tools:node="remove" />
|
||||
|
||||
<application
|
||||
android:name=".Amber"
|
||||
|
||||
Reference in New Issue
Block a user