From ec42c2a932db44df25e8329d27cb7e31541a08b0 Mon Sep 17 00:00:00 2001 From: Eun-Jeong Shin Date: Fri, 20 Jan 2023 13:32:35 -0800 Subject: [PATCH] Make "Learn more" string translatable and set URL to be non-translatable Test: GtsVerifier Bug: 262041200 Change-Id: I8dc3fa111ad0b12a1ec026dc2ea507ac7e1ae0b9 --- .../SystemUI/res/values-television/config.xml | 3 ++ .../res/values-television/strings.xml | 7 +-- packages/SystemUI/res/values/config.xml | 3 ++ packages/SystemUI/res/values/strings.xml | 4 +- .../logcat/LogAccessDialogActivity.java | 44 ++++++++++--------- 5 files changed, 34 insertions(+), 27 deletions(-) diff --git a/packages/SystemUI/res/values-television/config.xml b/packages/SystemUI/res/values-television/config.xml index 375bd394bb4ce..0ca154e06787c 100644 --- a/packages/SystemUI/res/values-television/config.xml +++ b/packages/SystemUI/res/values-television/config.xml @@ -46,4 +46,7 @@ true + + + false diff --git a/packages/SystemUI/res/values-television/strings.xml b/packages/SystemUI/res/values-television/strings.xml index f30b73ea6f131..86106e6ff76a4 100644 --- a/packages/SystemUI/res/values-television/strings.xml +++ b/packages/SystemUI/res/values-television/strings.xml @@ -17,11 +17,6 @@ */ --> - - Device logs record what happens on your device. Apps can use these logs to find and fix issues.\n\nSome logs may contain sensitive info, so only allow apps you trust to access all device logs. - \n\nIf you don’t allow this app to access all device logs, it can still access its own logs. Your device manufacturer may still be able to access some logs or info on your device.\n\nLearn more at g.co/android/devicelogs. - - - + \ No newline at end of file diff --git a/packages/SystemUI/res/values/config.xml b/packages/SystemUI/res/values/config.xml index f5db5eccc2e0b..034f145730c23 100644 --- a/packages/SystemUI/res/values/config.xml +++ b/packages/SystemUI/res/values/config.xml @@ -835,4 +835,7 @@ true + + + true diff --git a/packages/SystemUI/res/values/strings.xml b/packages/SystemUI/res/values/strings.xml index 16bffb7b83fc5..fff187068bc79 100644 --- a/packages/SystemUI/res/values/strings.xml +++ b/packages/SystemUI/res/values/strings.xml @@ -2844,7 +2844,9 @@ - <a href="https://support.google.com/android?p=system_logs#topic=7313011">Learn more</a> + https://support.google.com/android?p=system_logs#topic=7313011 + Learn more + Learn more at %s