From e8d74abe939105b18729767e98c24617628dbac2 Mon Sep 17 00:00:00 2001 From: Nadav Bar Date: Mon, 6 Dec 2021 10:45:40 +0200 Subject: [PATCH] Add config for call captioning Add a definition for a boolean config value that will be used by the system captioning service to check whether calls captioning should be enabled on the device. Bug: 136282740, 208740916. Test: Manually. Change-Id: I6cf894f7dcc7d650ddf4a89e0d356b1da83bf67e --- core/api/system-current.txt | 1 + core/res/res/values/config.xml | 5 +++++ core/res/res/values/public.xml | 2 ++ 3 files changed, 8 insertions(+) diff --git a/core/api/system-current.txt b/core/api/system-current.txt index ef59b1a9bca11..3fbc826faa49b 100644 --- a/core/api/system-current.txt +++ b/core/api/system-current.txt @@ -353,6 +353,7 @@ package android { field public static final int config_showDefaultAssistant = 17891329; // 0x1110001 field public static final int config_showDefaultEmergency = 17891330; // 0x1110002 field public static final int config_showDefaultHome = 17891331; // 0x1110003 + field public static final int config_systemCaptionsServiceCallsEnabled; } public static final class R.color { diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index c8750b35073eb..8dee45bbf799e 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -4008,6 +4008,11 @@ --> + + + +