package io.flutter.plugins.custompathprovider; import android.os.Environment; /* loaded from: classes6.dex */ class CustomStorageDirectoryMapper { CustomStorageDirectoryMapper() { } /* JADX INFO: Access modifiers changed from: package-private */ public static String androidType(Integer num) throws IllegalArgumentException { if (num == null) { return null; } switch (num.intValue()) { case 0: return Environment.DIRECTORY_MUSIC; case 1: return Environment.DIRECTORY_PODCASTS; case 2: return Environment.DIRECTORY_RINGTONES; case 3: return Environment.DIRECTORY_ALARMS; case 4: return Environment.DIRECTORY_NOTIFICATIONS; case 5: return Environment.DIRECTORY_PICTURES; case 6: return Environment.DIRECTORY_MOVIES; case 7: return Environment.DIRECTORY_DOWNLOADS; case 8: return Environment.DIRECTORY_DCIM; case 9: return Environment.DIRECTORY_DOCUMENTS; default: throw new IllegalArgumentException("Unknown index: ".concat(String.valueOf(num))); } } }