Use FooterPreference in xml explicitly
Removed the FooterPreferenceMixin from the some accessibility pages. Fixes: 139455988 Test: manual test Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.accessibility Change-Id: Ia1568e0a120eede26fadc16764caef2ecfb2411a
This commit is contained in:
@@ -80,8 +80,6 @@ public class AccessibilityShortcutPreferenceFragment extends ToggleFeaturePrefer
|
||||
((Boolean) o) ? 1 : 0);
|
||||
return true;
|
||||
});
|
||||
mFooterPreferenceMixin.createFooterPreference()
|
||||
.setTitle(R.string.accessibility_shortcut_description);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -186,7 +184,8 @@ public class AccessibilityShortcutPreferenceFragment extends ToggleFeaturePrefer
|
||||
return getServiceInfo(context) != null;
|
||||
}
|
||||
|
||||
private static @Nullable ComponentName getShortcutComponent(Context context) {
|
||||
private static @Nullable
|
||||
ComponentName getShortcutComponent(Context context) {
|
||||
String componentNameString = AccessibilityUtils.getShortcutTargetServiceComponentNameString(
|
||||
context, UserHandle.myUserId());
|
||||
if (componentNameString == null) return null;
|
||||
|
Reference in New Issue
Block a user