project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/SettingsFragment.java
changeset 7568 75ba91f14ed5
parent 7558 983ff426f91e
child 7582 714310efad8f
equal deleted inserted replaced
7566:57d343ee382f 7568:75ba91f14ed5
    54 			weaponsets = Weaponsets.loadAllWeaponsets(getActivity());
    54 			weaponsets = Weaponsets.loadAllWeaponsets(getActivity());
    55 			themes = FrontendDataUtils.getThemes(getActivity());
    55 			themes = FrontendDataUtils.getThemes(getActivity());
    56 		} catch (IOException e) {
    56 		} catch (IOException e) {
    57 			Toast.makeText(getActivity().getApplicationContext(), R.string.error_missing_sdcard_or_files, Toast.LENGTH_LONG).show();
    57 			Toast.makeText(getActivity().getApplicationContext(), R.string.error_missing_sdcard_or_files, Toast.LENGTH_LONG).show();
    58 			getActivity().finish();
    58 			getActivity().finish();
       
    59 			return null;
    59 		}
    60 		}
    60 		
    61 		
    61 		Collections.sort(styles, String.CASE_INSENSITIVE_ORDER);
    62 		Collections.sort(styles, String.CASE_INSENSITIVE_ORDER);
    62 		Collections.sort(schemes, Scheme.NAME_ORDER);
    63 		Collections.sort(schemes, Scheme.NAME_ORDER);
    63 		Collections.sort(weaponsets, Weaponset.NAME_ORDER);
    64 		Collections.sort(weaponsets, Weaponset.NAME_ORDER);