From cd52da959ccaee0587ac1536712e098fd01472aa Mon Sep 17 00:00:00 2001 From: Ryan Meredith Date: Sat, 7 Nov 2020 01:35:59 -0500 Subject: [PATCH] Android: Remove unnecessary WrongConstant warning suppression --- .../org/dolphinemu/dolphinemu/activities/EmulationActivity.java | 1 - .../java/org/dolphinemu/dolphinemu/fragments/MenuFragment.java | 1 - .../dolphinemu/dolphinemu/fragments/SaveLoadStateFragment.java | 1 - 3 files changed, 3 deletions(-) diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/activities/EmulationActivity.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/activities/EmulationActivity.java index fcf897cdd9..29623aace8 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/activities/EmulationActivity.java +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/activities/EmulationActivity.java @@ -435,7 +435,6 @@ public final class EmulationActivity extends AppCompatActivity popup.show(); } - @SuppressWarnings("WrongConstant") @Override public boolean onOptionsItemSelected(MenuItem item) { diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/fragments/MenuFragment.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/fragments/MenuFragment.java index dfcc00b9b1..b99cda75bc 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/fragments/MenuFragment.java +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/fragments/MenuFragment.java @@ -180,7 +180,6 @@ public final class MenuFragment extends Fragment implements View.OnClickListener mPauseEmulation.setVisibility(paused ? View.GONE : View.VISIBLE); } - @SuppressWarnings("WrongConstant") @Override public void onClick(View button) { diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/fragments/SaveLoadStateFragment.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/fragments/SaveLoadStateFragment.java index 7d93ca14f6..dad1201030 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/fragments/SaveLoadStateFragment.java +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/fragments/SaveLoadStateFragment.java @@ -95,7 +95,6 @@ public final class SaveLoadStateFragment extends Fragment implements View.OnClic return rootView; } - @SuppressWarnings("WrongConstant") @Override public void onClick(View view) {