Files
mdooley 22ff338e73 Don't transcribe voicemail unless carrier allows OTT transcription
Added a carrier config and check to see if the carrier allows over
the top voicemail transcription, and if not do not attempt transcription.

Bug: 68951869
Test: manual and unit test
PiperOrigin-RevId: 176065849
Change-Id: I69df1f2867420d7fdcc7f0a31e0e6c26da67abb1
2017-11-18 07:34:02 +00:00

32 lines
1.0 KiB
Java

/*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
*/
package com.android.voicemail;
/**
* Keys used to lookup carrier specific configuration strings. See {@code
* VoicemailClient.getCarrierConfigString}
*/
public interface CarrierConfigKeys {
/**
* Carrier config key whose value will be 'true' for carriers that allow over the top voicemail
* transcription.
*/
String VVM_CARRIER_ALLOWS_OTT_TRANSCRIPTION_STRING =
"vvm_carrier_allows_ott_transcription_string";
}