Split the string resource id for non-generic accessibility preference.
- Keep the accessibility settings strings the same as in U. Bug: 289425138 Test: manual Test: atest Change-Id: Iddbbfe627c93529d2421e153094a30628229c4bc
This commit is contained in:
@@ -16,8 +16,6 @@
|
||||
|
||||
package com.android.settings.accessibility;
|
||||
|
||||
import static com.android.internal.accessibility.AccessibilityShortcutController.DALTONIZER_COMPONENT_NAME;
|
||||
|
||||
import android.content.Context;
|
||||
import android.provider.Settings;
|
||||
|
||||
@@ -40,10 +38,9 @@ public class DaltonizerPreferenceController extends BasePreferenceController {
|
||||
|
||||
@Override
|
||||
public CharSequence getSummary() {
|
||||
return AccessibilityUtil.getFeatureFullStateSummary(
|
||||
mContext, DALTONIZER_COMPONENT_NAME,
|
||||
return AccessibilityUtil.getSummary(
|
||||
mContext,
|
||||
DALTONIZER_ENABLED,
|
||||
R.string.daltonizer_state_on, R.string.daltonizer_state_off,
|
||||
R.string.daltonizer_feature_summary);
|
||||
R.string.daltonizer_state_on, R.string.daltonizer_state_off);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user