mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-07 19:14:04 +08:00
From https://developer.android.com/guide/components/services: "Apps that target Android 9 (API level 28) or higher and use foreground services must request the FOREGROUND_SERVICE permission. This is a normal permission, so the system automatically grants it to the requesting app. If an app that targets API level 28 or higher attempts to create a foreground service without requesting FOREGROUND_SERVICE, the system throws a SecurityException."