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

Commit ed0343c9 authored by Jason Monk's avatar Jason Monk
Browse files

Add constant for manage permissions screen

This screen is not per app, but shows all runtime permissions and
how many apps hold each.

Change-Id: I68cdbe53177f742daf396f4eb53761fd5cda2636
parent 469d9449
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -38,6 +38,8 @@ public class MetricsLogger implements MetricsConstants {
    public static final int ACTION_WIFI_OFF = 140;
    public static final int ACTION_WIFI_ON = 141;

    public static final int MANAGE_PERMISSIONS = 142;

    public static void visible(Context context, int category) throws IllegalArgumentException {
        if (Build.IS_DEBUGGABLE && category == VIEW_UNKNOWN) {
            throw new IllegalArgumentException("Must define metric category");