mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-12-14 13:01:17 +01:00
Fix issue where termux session does not come to foreground automatically in android >= 10 unless user manually clicks termux notification for "RUN_COMMAND" intents and "Termux:Tasker" plugin actions that have background mode "false" because of new restrictions of starting activities from background. This is done by adding "android.permission.SYSTEM_ALERT_WINDOW" permission in AndroidManifest.xml so that the user may optionally grant "Draw Over Apps" permission to termux to fix the issue.
This commit is contained in:
parent
52ce6cc94b
commit
9aae665bfc
1 changed files with 1 additions and 0 deletions
|
|
@ -21,6 +21,7 @@
|
|||
<uses-permission android:name="android.permission.VIBRATE" />
|
||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
||||
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/>
|
||||
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
|
||||
|
||||
<application
|
||||
android:extractNativeLibs="true"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue