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:
Philip P. Moltmann
2016-05-04 09:44:01 -07:00
parent e6a875576f
commit 7978909120

View File

@@ -201,7 +201,6 @@ public class PrintSettingsFragment extends ProfileSettingsPreferenceFragment
ComponentName componentName = service.getComponentName();
preference.setKey(componentName.flattenToString());
preference.setOrder(Math.min(ORDER_LAST - 1, componentName.hashCode()));
preference.setFragment(PrintServiceSettingsFragment.class.getName());
preference.setPersistent(false);