Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98b9b343 authored by Tsung-Mao Fang's avatar Tsung-Mao Fang
Browse files

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
parent f5e2d52f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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" />

        <activity android:name=".applications.autofill.AutofillPickerActivity"
                android:excludeFromRecents="true"
+0 −3
Original line number Diff line number Diff line
@@ -312,9 +312,6 @@
    <!-- Whether swipe security option is hidden or not -->
    <bool name="config_hide_swipe_security_option">false</bool>

    <!--Whether help links are defined. -->
    <bool name="config_has_help">false</bool>

    <!-- Whether Wi-Fi settings should be shown or not.
    This also controls whether Wi-fi related sub-settings (e.g. Wi-Fi preferences) will
    surface in search results or not.-->