From 98b9b3438d9ceba5f5842af5211a67b063cb9220 Mon Sep 17 00:00:00 2001 From: Tsung-Mao Fang Date: Wed, 17 Nov 2021 13:46:08 +0800 Subject: [PATCH] USB: move help config flag to FW Note: This cl is copied from aosp/1785174 since merge conflict issue. Move the flag for the indication of the validity of help links to framework because it is also needed for SystemUI. config_has_help will be replaced by config_settingsHelpLinksEnabled in frameworks. Test: $ adb shell dumpsys usb add-port "matrix" ufp $ adb shell dumpsys usb set-contaminant-status "matrix" true Bug: 195448626 Change-Id: Id9b0c196c9a07085c790d5f4366bb1fec635d6b1 --- AndroidManifest.xml | 2 +- res/values/config.xml | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 31a7970954e..0e7f38ce1c7 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -3882,7 +3882,7 @@ android:theme="@style/Transparent" android:permission="android.permission.DUMP" android:excludeFromRecents="true" - android:enabled="@bool/config_has_help" /> + android:enabled="@*android:bool/config_settingsHelpLinksEnabled" />