Fix that the inconsistent accessibility content pages under Setup Wizard.
Root cause: Exist the inconsistent conditions. Next: 1. Move all the condition related to description to the back fragment to determine whether to show the footer preference or not. 2. Add extras relate to animated image. Bug: 156180932 Test: manual test Change-Id: I56d4ead6c5121637a2da2e074ef9bff2a8146732
This commit is contained in:
@@ -139,9 +139,6 @@ public class AccessibilityDetailsSettingsFragment extends InstrumentedFragment {
|
||||
AccessibilityUtils.getEnabledServicesFromSettings(getActivity());
|
||||
final boolean serviceEnabled = enabledServices.contains(componentName);
|
||||
String description = info.loadDescription(getActivity().getPackageManager());
|
||||
if (TextUtils.isEmpty(description)) {
|
||||
description = getString(R.string.accessibility_service_default_description);
|
||||
}
|
||||
|
||||
if (serviceEnabled && info.crashed) {
|
||||
// Update the summaries for services that have crashed.
|
||||
|
Reference in New Issue
Block a user