mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 06:29:00 +01:00
[Android] Clean up AboutFragment's onAttach method.
This commit is contained in:
parent
3968a5d169
commit
8ca3ed13de
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user