[Android] Clean up AboutFragment's onAttach method.

This commit is contained in:
lioncash 2013-08-28 08:15:00 -04:00
parent 3968a5d169
commit 8ca3ed13de

View File

@ -52,16 +52,7 @@ public final class AboutFragment extends Fragment
{
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;
}
}