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

Commit a6d20ccd authored by Clara Bayarri's avatar Clara Bayarri
Browse files

Create a new Logging constant for Profile Challenge Settings

Change-Id: I282ee30b47432e97545b004ea2ada56f3ecb84fa
parent 3e826eff
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -43,19 +43,25 @@ public class MetricsLogger implements MetricsConstants {
     * Logged when the user docks a window from recents by longpressing a task and dragging it to
     * the dock area.
     */
    public static final int ACTION_WINDOW_DOCK_DRAG_DROP = 265;
    public static final int ACTION_WINDOW_DOCK_DRAG_DROP = 268;

    /**
     * Logged when the user docks a fullscreen window by long pressing recents which also opens
     * recents on the lower/right side.
     */
    public static final int ACTION_WINDOW_DOCK_LONGPRESS = 266;
    public static final int ACTION_WINDOW_DOCK_LONGPRESS = 269;

    /**
     * Logged when the user docks a window by dragging from the navbar which also opens recents on
     * the lower/right side.
     */
    public static final int ACTION_WINDOW_DOCK_SWIPE = 267;
    public static final int ACTION_WINDOW_DOCK_SWIPE = 270;

    /**
     * Logged when the user launches a profile-specific app and we intercept it with the confirm
     * credentials UI.
     */
    public static final int PROFILE_CHALLENGE = 271;

    public static void visible(Context context, int category) throws IllegalArgumentException {
        if (Build.IS_DEBUGGABLE && category == VIEW_UNKNOWN) {