Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c984b3c authored by wwtbuaa01's avatar wwtbuaa01 Committed by Wentao Wang
Browse files

Add OP_GET_USAGE_STATS to APP_OP_PERMISSION_PACKAGE_OPS.

AppOp.GET_USAGE_STATS is missing from the list. So when Android role trying to grant the app-op permission. It will encounter a null exception.

Bug: 274132354
Test: manual
Change-Id: Ie2bc522cd900c8bed7af22d581e8f9324b7a6d9c
parent 5f09d098
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2317,6 +2317,7 @@ public class AppOpsManager {
            OP_ACCESS_NOTIFICATIONS,
            OP_SYSTEM_ALERT_WINDOW,
            OP_WRITE_SETTINGS,
            OP_GET_USAGE_STATS,
            OP_REQUEST_INSTALL_PACKAGES,
            OP_START_FOREGROUND,
            OP_SMS_FINANCIAL_TRANSACTIONS,