1 /*
2  * Copyright (C) 2022 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.dialer.app;
18 
19 import android.app.admin.DevicePolicyManager;
20 
21 /**
22  * Class containing the required identifiers to update device management resources.
23  *
24  * <p>See {@link DevicePolicyManager#getDrawable} and {@link DevicePolicyManager#getString}.
25  */
26 public class DevicePolicyResources {
27 
28     private static final String PREFIX = "Dialer.";
29 
30     /**
31      * The title of the in-call notification for an incoming work call.
32      */
33     public static final String NOTIFICATION_INCOMING_WORK_CALL_TITLE =
34             PREFIX + "NOTIFICATION_INCOMING_WORK_CALL_TITLE";
35 
36     /**
37      * The title of the in-call notification for an ongoing work call.
38      */
39     public static final String NOTIFICATION_ONGOING_WORK_CALL_TITLE =
40             PREFIX + "NOTIFICATION_ONGOING_WORK_CALL_TITLE";
41 
42     /**
43      * Missed call notification label, used when there's exactly one missed call from work
44      * contact.
45      */
46     public static final String NOTIFICATION_MISSED_WORK_CALL_TITLE =
47             PREFIX + "NOTIFICATION_MISSED_WORK_CALL_TITLE";
48 
49     /**
50      * Label for notification indicating that call is being made over wifi.
51      */
52     public static final String NOTIFICATION_WIFI_WORK_CALL_LABEL =
53             PREFIX + "NOTIFICATION_WIFI_WORK_CALL_LABEL";
54 }
55