mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-14 22:47:44 +00:00
[Android] Very minor clean-up in MainMenuActivity.java and CoreSelection.java.
This commit is contained in:
parent
c7ff040bf3
commit
8fb23d0fcc
@ -45,8 +45,7 @@ public final class CoreSelection extends Activity implements AdapterView.OnItemC
|
||||
setTitle(R.string.select_libretro_core);
|
||||
|
||||
// Populate the list
|
||||
final String modulePath = MainMenuActivity.getInstance()
|
||||
.getApplicationInfo().nativeLibraryDir;
|
||||
final String modulePath = getApplicationInfo().nativeLibraryDir;
|
||||
final File[] libs = new File(modulePath).listFiles();
|
||||
for (final File lib : libs) {
|
||||
String libName = lib.getName();
|
||||
|
@ -262,10 +262,10 @@ public final class MainMenuActivity extends PreferenceActivity {
|
||||
private boolean detectDevice(boolean show_dialog) {
|
||||
boolean retval = false;
|
||||
|
||||
final boolean mentionPlayStore = !android.os.Build.MODEL.equals("OUYA Console");
|
||||
final boolean mentionPlayStore = !Build.MODEL.equals("OUYA Console");
|
||||
final String message = (mentionPlayStore ? getString(R.string.detect_device_msg_general) : getString(R.string.detect_device_msg_ouya));
|
||||
|
||||
Log.i("Device MODEL", android.os.Build.MODEL);
|
||||
Log.i("Device MODEL", Build.MODEL);
|
||||
if (Build.MODEL.equals("SHIELD")) {
|
||||
AlertDialog.Builder alert = new AlertDialog.Builder(this)
|
||||
.setTitle(R.string.nvidia_shield_detected)
|
||||
|
Loading…
x
Reference in New Issue
Block a user