Home | History | Annotate | Download | only in voicemail
      1 /*
      2  * Copyright (C) 2017 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.voicemail;
     18 
     19 /**
     20  * Shared preference keys and values relating to the voicemail version that the user has accepted.
     21  * Note: these can be carrier dependent.
     22  */
     23 public interface VoicemailVersionConstants {
     24   // Preference key to check which version of the Verizon ToS that the user has accepted.
     25   String PREF_VVM3_TOS_VERSION_ACCEPTED_KEY = "vvm3_tos_version_accepted";
     26 
     27   // Preference key to check which version of the Google Dialer ToS that the user has accepted.
     28   String PREF_DIALER_TOS_VERSION_ACCEPTED_KEY = "dialer_tos_version_accepted";
     29 
     30   // Preference key to check which feature version the user has acknowledged
     31   String PREF_DIALER_FEATURE_VERSION_ACKNOWLEDGED_KEY = "dialer_feature_version_acknowledged";
     32 
     33   int CURRENT_VVM3_TOS_VERSION = 2;
     34   int CURRENT_DIALER_TOS_VERSION = 1;
     35   int LEGACY_VOICEMAIL_FEATURE_VERSION = 1; // original visual voicemail
     36   int TRANSCRIPTION_VOICEMAIL_FEATURE_VERSION = 2;
     37   int CURRENT_VOICEMAIL_FEATURE_VERSION = TRANSCRIPTION_VOICEMAIL_FEATURE_VERSION;
     38 }
     39