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

Commit 2bd6eb2a authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix the typo of `config_defaultAccessibilityService` in...

Merge "Fix the typo of `config_defaultAccessibilityService` in A11yServicePreferenceFragment." into main
parents 31d81465 57e2df05
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -175,7 +175,7 @@ open class A11yServicePreferenceFragment : ShortcutFragment() {
        // `ACCESSIBILITY_SHORTCUT_TARGET_SERVICE`.
        val defaultService =
            ComponentName.unflattenFromString(
                getString(com.android.internal.R.string.config_defaultAutofillService)
                getString(com.android.internal.R.string.config_defaultAccessibilityService)
            )

        if (defaultService == null || name != defaultService) {
+1 −1
Original line number Diff line number Diff line
@@ -489,7 +489,7 @@ class A11yServicePreferenceFragmentTest :
        val a11yServiceInfo = createA11yServiceInfo()
        if (isDefaultA11yService) {
            SettingsShadowResources.overrideResource(
                com.android.internal.R.string.config_defaultAutofillService,
                com.android.internal.R.string.config_defaultAccessibilityService,
                a11yServiceInfo.componentName.flattenToString(),
            )
        }