Do not set order for print services settings.
What happened before was that negative number turned out to be order behind ORDER_LAST. Change-Id: I714f623a2b1be06dde86ae7f36b39c64006203f2
This commit is contained in:
@@ -201,7 +201,6 @@ public class PrintSettingsFragment extends ProfileSettingsPreferenceFragment
|
|||||||
ComponentName componentName = service.getComponentName();
|
ComponentName componentName = service.getComponentName();
|
||||||
preference.setKey(componentName.flattenToString());
|
preference.setKey(componentName.flattenToString());
|
||||||
|
|
||||||
preference.setOrder(Math.min(ORDER_LAST - 1, componentName.hashCode()));
|
|
||||||
preference.setFragment(PrintServiceSettingsFragment.class.getName());
|
preference.setFragment(PrintServiceSettingsFragment.class.getName());
|
||||||
preference.setPersistent(false);
|
preference.setPersistent(false);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user