deleted some unused code and assets
|
@ -141,16 +141,7 @@ public class Utility
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getErrorString(Context context, int code) {
|
|
||||||
switch (code) {
|
|
||||||
case DownloadMission.ERROR_SERVER_UNSUPPORTED:
|
|
||||||
return context.getString(R.string.msg_server_unsupported);
|
|
||||||
default:
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static FileType getFileType(String file) {
|
public static FileType getFileType(String file) {
|
||||||
if (file.endsWith(".apk")) {
|
if (file.endsWith(".apk")) {
|
||||||
return FileType.APP;
|
return FileType.APP;
|
||||||
|
|
Before Width: | Height: | Size: 161 B |
Before Width: | Height: | Size: 223 B |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 174 B |
Before Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 198 B |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 222 B |