• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2015 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.messaging.util;
18 
19 
20 public class PendingIntentConstants {
21     // Notifications
22     public static final int SMS_NOTIFICATION_ID = 0;
23     public static final int SMS_SECONDARY_USER_NOTIFICATION_ID = 1;
24     public static final int MSG_SEND_ERROR = 2;
25     public static final int SMS_STORAGE_LOW_NOTIFICATION_ID = 3;
26 
27     // Request codes
28     public static final int UPDATE_NOTIFICATIONS_ALARM_ACTION_ID = 100;
29 
30     public static final int MIN_ASSIGNED_REQUEST_CODE = 1001;
31 
32     // Logging
33     private static final String TAG = LogUtil.BUGLE_TAG;
34     private static final boolean VERBOSE = false;
35 
36     // Internal Constants
37     private static final String NOTIFICATION_REQUEST_CODE_PREFS = "notificationRequestCodes.v1";
38     private static final String REQUEST_CODE_DELIMITER = "|";
39     private static final String MAX_REQUEST_CODE_KEY = "maxRequestCode";
40 }
41