diff options
| author | Lioncash <mathew1800@gmail.com> | 2013-11-15 17:05:56 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2013-11-15 17:05:56 -0500 |
| commit | 8c7d1afd5fdd8086324068774d3565dc39f3df2e (patch) | |
| tree | 65db8dc4393f03a2c97dbfe7fa98e3bffb3ba5d0 /Source/Android/src/org | |
| parent | 4bb22aa0ab7c06c28e09de0f1b6db042ad23e84a (diff) | |
[Android] Externalize the device compatibility warning strings.
Diffstat (limited to 'Source/Android/src/org')
| -rw-r--r-- | Source/Android/src/org/dolphinemu/dolphinemu/NativeLibrary.java | 2 | ||||
| -rw-r--r-- | Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListActivity.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Source/Android/src/org/dolphinemu/dolphinemu/NativeLibrary.java b/Source/Android/src/org/dolphinemu/dolphinemu/NativeLibrary.java index 7d655566d3..d5c10f8fad 100644 --- a/Source/Android/src/org/dolphinemu/dolphinemu/NativeLibrary.java +++ b/Source/Android/src/org/dolphinemu/dolphinemu/NativeLibrary.java @@ -107,7 +107,7 @@ public final class NativeLibrary /** * Returns if the phone supports NEON or not * - * @return if it supports NEON + * @return true if it supports NEON, false otherwise. */ public static native boolean SupportsNEON(); diff --git a/Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListActivity.java b/Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListActivity.java index 2a1ae4a8b2..eba52036e5 100644 --- a/Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListActivity.java +++ b/Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListActivity.java @@ -112,8 +112,8 @@ public final class GameListActivity extends Activity if (Build.CPU_ABI.contains("arm") && !NativeLibrary.SupportsNEON()) { AlertDialog.Builder builder = new AlertDialog.Builder(this); - builder.setTitle("ALERT!"); - builder.setMessage("Your phone doesn't support NEON which makes it incapable of running Dolphin Mobile?\nDo you want to try anyway?"); + builder.setTitle(R.string.device_compat_warning); + builder.setMessage(R.string.device_compat_warning_msg); builder.setPositiveButton(R.string.yes, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int which) { // Do Nothing. Just create the Yes button |
