mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 14:39:01 +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);
|
super.onAttach(activity);
|
||||||
|
|
||||||
// This makes sure that the container activity has implemented
|
// Cache the activity instance.
|
||||||
// the callback interface. If not, it throws an exception
|
m_activity = activity;
|
||||||
try
|
|
||||||
{
|
|
||||||
m_activity = activity;
|
|
||||||
}
|
|
||||||
catch (ClassCastException e)
|
|
||||||
{
|
|
||||||
throw new ClassCastException(activity.toString()
|
|
||||||
+ " must implement OnGameListZeroListener");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user