Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Android] Clean up AboutFragment's onAttach method.
  • Loading branch information
lioncash committed Aug 28, 2013
1 parent 3968a5d commit 8ca3ed1
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions Source/Android/src/org/dolphinemu/dolphinemu/AboutFragment.java
Expand Up @@ -52,16 +52,7 @@ public void onAttach(Activity activity)
{
super.onAttach(activity);

// This makes sure that the container activity has implemented
// the callback interface. If not, it throws an exception
try
{
m_activity = activity;
}
catch (ClassCastException e)
{
throw new ClassCastException(activity.toString()
+ " must implement OnGameListZeroListener");
}
// Cache the activity instance.
m_activity = activity;
}
}

0 comments on commit 8ca3ed1

Please sign in to comment.