mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-07 03:05:18 +08:00
Added: Add check for if Termux has been granted Display Over Apps Permission if starting activities and services with termux-am-socket on Android 10+
This commit is contained in:
@@ -37,6 +37,12 @@
|
||||
<string name="error_attempted_to_ask_for_permissions_not_requested">Attempted to ask for permissions that have not been requested in app manifest: %1$s</string>
|
||||
<string name="error_has_not_requested_legacy_external_storage">The \"%1$s\" package is targeting targetSdkVersion %2$d and is running on android sdk %3$d but has not set requestLegacyExternalStorage to true in app manifest</string>
|
||||
<string name="msg_requires_dump_and_package_usage_stats_permissions">Requires `DUMP` and `PACKAGE_USAGE_STATS` permission</string>
|
||||
<string name="error_display_over_other_apps_permission_not_granted">%1$s requires
|
||||
\"Display over other apps\" permission to start activities and services from background on Android >= 10.
|
||||
Grants it from Android Settings -> Apps -> %1$s -> Advanced -> Draw over other apps.
|
||||
The permission name may be different on different devices, like on Xiaomi, its called
|
||||
\"Display pop-up windows while running in the background\", check https://dontkillmyapp.com
|
||||
for device specific issues.</string>
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user