Revert name detection.

This reverts commit 544bb079d747b0fc4286268f8de5a5c9959e3350.
This reverts commit fbeadae931ae4446b3d8c56a1488df7ff6261ce0.
This reverts commit 5de6e809bfc5111cbfcb69add38bb9cf4deb054f.
This commit is contained in:
Themaister 2013-01-26 18:16:32 +01:00
parent 1a4b094abf
commit 71f2ad6664

View File

@ -19,16 +19,9 @@ import android.graphics.drawable.*;
class ModuleWrapper implements IconAdapterItem {
public final File file;
private String descName;
private String getDescName(String name) {
name = name.replace(".so", "").replace("libretro_", "");
return name;
}
public ModuleWrapper(Context aContext, File aFile) throws IOException {
file = aFile;
descName = getDescName(file.getName());
}
@Override
@ -38,7 +31,7 @@ class ModuleWrapper implements IconAdapterItem {
@Override
public String getText() {
return descName;
return file.getName();
}
@Override