-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Closed
Labels
Description
Problem description
This is not exactly a friendly message when asking for permission through permission controller.
Steps to reproduce
Add the following code in the main activity of any sample code:
if (ContextCompat.checkSelfPermission(this, "com.termux.permission.RUN_COMMAND") != PackageManager.PERMISSION_GRANTED) {
ActivityCompat.requestPermissions(this, new String[]{"com.termux.permission.RUN_COMMAND"}, requestCode);
}Expected behavior
The message should be more concise and clear without any full stop. For example, “execute arbitrary commands within Termux environment” so that the whole message should be read as “Allow App Manager to execute arbitrary commands within Termux environment?”.
Additional information
- Termux application version: 0.95
I can make a PR if you're interested.