Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit beb7ba81 authored by Joel Galenson's avatar Joel Galenson
Browse files

Ensure apps and permissions are correctly sorted by the locale.

This modifies PermissionAppsFragment and ManagePermissionsFragment to
sort the list of apps and permissions in a locale-sensitive way using
a Collator.

AppPermissionsFragment was already correct because
AppPermissionGroup's compareTo method uses a Collator, but at Philip's
suggestion I modified the UI element to sort as well to avoid that
hidden dependence.

Test: See alphabetical ordering of apps and permissions in English and
in Spanish for the modified fragments.

Change-Id: Ifaaaad711314f755ce23ed911385f083cae8e2b7
parent 3904b2aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment