From a18ae7497e694ba96049728364f6e6a639aa928d Mon Sep 17 00:00:00 2001 From: Jason Chang Date: Tue, 22 Feb 2022 15:13:42 +0800 Subject: [PATCH] Add usb audio device warning dialog message strings for support both Direct USB Access and AoC Offload feature Add below new string IDs for USB audio device warning dialog message: usb_audio_device_prompt_warn usb_audio_device_prompt usb_audio_device_confirm_prompt_title usb_audio_device_permission_prompt_title Bug: 199034378 Test: Passed in local build. Change-Id: Ib64526e6e6a7344ff1138ee1932629a4c221fd4a (cherry picked from commit e159881f960ab398ff4964d3d999a30b8090ff8b) --- packages/SystemUI/res/values/strings.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/SystemUI/res/values/strings.xml b/packages/SystemUI/res/values/strings.xml index d230f33f4939e..890b8376c48ef 100644 --- a/packages/SystemUI/res/values/strings.xml +++ b/packages/SystemUI/res/values/strings.xml @@ -87,6 +87,18 @@ Allow %1$s to access %2$s?\nThis app has not been granted record permission but could capture audio through this USB device. + + Allow %1$s to access %2$s? + + + Open %1$s to handle %2$s? + + + This app has not been granted record permission but could capture audio through this USB device. Using %1$s with this device might prevent hearing calls, notifications and alarms. + + + Using %1$s with this device might prevent hearing calls, notifications and alarms. + Allow %1$s to access %2$s?