Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to set custom description for permissions #1379

Open
3 tasks done
scruel opened this issue May 12, 2024 · 2 comments
Open
3 tasks done

Ability to set custom description for permissions #1379

scruel opened this issue May 12, 2024 · 2 comments
Labels
Feature New feature or request Status: Pending The issue is not yet accepted

Comments

@scruel
Copy link

scruel commented May 12, 2024

Please check before submitting an issue

  • I am using the latest version of App Manager
  • I have searched the issues and haven't found anything relevant
  • I have read the docs

Describe a description of the new feature

For example, MIUI has its own permission table, for some already-known.

// MIUI app ops taken from framework.jar
public static final int MIUI_OP_START = 10000;
public static final int OP_WIFI_CHANGE = 10001;
public static final int OP_BLUETOOTH_CHANGE = 10002;
public static final int OP_DATA_CONNECT_CHANGE = 10003;
public static final int OP_SEND_MMS = 10004;
public static final int OP_READ_MMS = 10005;
public static final int OP_WRITE_MMS = 10006;
public static final int OP_BOOT_COMPLETED = 10007;
public static final int OP_AUTO_START = 10008;
public static final int OP_NFC_CHANGE = 10009;
public static final int OP_DELETE_SMS = 10010;
public static final int OP_DELETE_MMS = 10011;
public static final int OP_DELETE_CONTACTS = 10012;
public static final int OP_DELETE_CALL_LOG = 10013;
public static final int OP_EXACT_ALARM = 10014;
public static final int OP_ACCESS_XIAOMI_ACCOUNT = 10015;
public static final int OP_NFC = 10016;
public static final int OP_INSTALL_SHORTCUT = 10017;
public static final int OP_READ_NOTIFICATION_SMS = 10018;
public static final int OP_GET_TASKS = 10019;
public static final int OP_SHOW_WHEN_LOCKED = 10020;
public static final int OP_BACKGROUND_START_ACTIVITY = 10021;
public static final int OP_GET_INSTALLED_APPS = 10022;
public static final int OP_SERVICE_FOREGROUND = 10023;
public static final int OP_GET_ANONYMOUS_ID = 10024;
public static final int OP_GET_UDEVICE_ID = 10025;
public static final int OP_DEAMON_NOTIFICATION = 10026;
public static final int OP_BACKGROUND_LOCATION = 10027;
public static final int OP_READ_SMS_REAL = 10028;
// MIUI 12 start?
public static final int OP_READ_CONTACTS_REAL = 10029;
public static final int OP_READ_CALENDAR_REAL = 10030;
public static final int OP_READ_CALL_LOG_REAL = 10031;
public static final int OP_READ_PHONE_STATE_REAL = 10032;
// MIUI 12
public static final int OP_POST_LOCAL_NOTIFICATION = 10033;
public static final int OP_ACCESS_GALLERY = 10034;
public static final int OP_ACCESS_SOCIALITY = 10035;
public static final int OP_ACCESS_LOCATION_REAL = 10036;
10044 Get device action and direction
10045 Live wallpaper service
...

Additional context

Ref:

// MIUI app ops taken from framework.jar
public static final int MIUI_OP_START = 10000;
public static final int OP_WIFI_CHANGE = 10001;
public static final int OP_BLUETOOTH_CHANGE = 10002;
public static final int OP_DATA_CONNECT_CHANGE = 10003;
public static final int OP_SEND_MMS = 10004;
public static final int OP_READ_MMS = 10005;
public static final int OP_WRITE_MMS = 10006;
public static final int OP_BOOT_COMPLETED = 10007;
public static final int OP_AUTO_START = 10008;
public static final int OP_NFC_CHANGE = 10009;
public static final int OP_DELETE_SMS = 10010;
public static final int OP_DELETE_MMS = 10011;
public static final int OP_DELETE_CONTACTS = 10012;
public static final int OP_DELETE_CALL_LOG = 10013;
public static final int OP_EXACT_ALARM = 10014;
public static final int OP_ACCESS_XIAOMI_ACCOUNT = 10015;
public static final int OP_NFC = 10016;
public static final int OP_INSTALL_SHORTCUT = 10017;
public static final int OP_READ_NOTIFICATION_SMS = 10018;
public static final int OP_GET_TASKS = 10019;
public static final int OP_SHOW_WHEN_LOCKED = 10020;
public static final int OP_BACKGROUND_START_ACTIVITY = 10021;
public static final int OP_GET_INSTALLED_APPS = 10022;
public static final int OP_SERVICE_FOREGROUND = 10023;
public static final int OP_GET_ANONYMOUS_ID = 10024;
public static final int OP_GET_UDEVICE_ID = 10025;
public static final int OP_DEAMON_NOTIFICATION = 10026;
public static final int OP_BACKGROUND_LOCATION = 10027;
public static final int OP_READ_SMS_REAL = 10028;
// MIUI 12 start?
public static final int OP_READ_CONTACTS_REAL = 10029;
public static final int OP_READ_CALENDAR_REAL = 10030;
public static final int OP_READ_CALL_LOG_REAL = 10031;
public static final int OP_READ_PHONE_STATE_REAL = 10032;
// MIUI 12
public static final int OP_POST_LOCAL_NOTIFICATION = 10033;
public static final int OP_ACCESS_GALLERY = 10034;
public static final int OP_ACCESS_SOCIALITY = 10035;
public static final int OP_ACCESS_LOCATION_REAL = 10036;

Related code had been removed by:
4c9e83d

@scruel scruel added the Feature New feature or request label May 12, 2024
@MuntashirAkon MuntashirAkon added the Status: Rejected This will not be worked on label Jun 3, 2024
@MuntashirAkon
Copy link
Owner

Sorry, it's not possible for a single person like me to catalogue every changes made by every vendors, especially when we're struggling with the AOSP permissions themselves.

@MuntashirAkon MuntashirAkon closed this as not planned Won't fix, can't repro, duplicate, stale Jun 3, 2024
@scruel
Copy link
Author

scruel commented Jun 3, 2024

Aha, it's totally fine, I'd like to add that what I want is not ask you or somebody to maintenance an OEM permission description list, but provide a built-in list liked thing that allows other people to append.

@MuntashirAkon MuntashirAkon reopened this Jun 3, 2024
@MuntashirAkon MuntashirAkon changed the title Ability to custom description for ROM based permissions Ability to set custom description for permissions Jun 3, 2024
@MuntashirAkon MuntashirAkon added Status: Pending The issue is not yet accepted and removed Status: Rejected This will not be worked on labels Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request Status: Pending The issue is not yet accepted
Projects
None yet
Development

No branches or pull requests

2 participants