Home | History | Annotate | Download | only in notification
      1 /*
      2  * Copyright (C) 2018 The Android Open Source Project
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License
     15  */
     16 
     17 package com.android.systemui.statusbar.notification;
     18 
     19 /**
     20  * Constants for counter tags for Notification-related actions/views.
     21  */
     22 public class NotificationCounters {
     23     /** Counter tag for notification dismissal. */
     24     public static final String NOTIFICATION_DISMISSED = "notification_dismissed";
     25 
     26     /** Counter tag for when the blocking helper is shown to the user. */
     27     public static final String BLOCKING_HELPER_SHOWN = "blocking_helper_shown";
     28     /** Counter tag for when the blocking helper is dismissed via a miscellaneous interaction. */
     29     public static final String BLOCKING_HELPER_DISMISSED = "blocking_helper_dismissed";
     30     /** Counter tag for when the user hits 'stop notifications' in the blocking helper. */
     31     public static final String BLOCKING_HELPER_STOP_NOTIFICATIONS =
     32             "blocking_helper_stop_notifications";
     33     /** Counter tag for when the user hits 'keep showing' in the blocking helper. */
     34     public static final String BLOCKING_HELPER_KEEP_SHOWING =
     35             "blocking_helper_keep_showing";
     36     /**
     37      * Counter tag for when the user hits undo in context of the blocking helper - this can happen
     38      * multiple times per view.
     39      */
     40     public static final String BLOCKING_HELPER_UNDO = "blocking_helper_undo";
     41     /** Counter tag for when the user hits the notification settings icon in the blocking helper. */
     42     public static final String BLOCKING_HELPER_NOTIF_SETTINGS =
     43             "blocking_helper_notif_settings";
     44 }
     45