Commit a4afc849 authored by Nicolas Fella's avatar Nicolas Fella

Use non-deprecated onAttach override

parent 6d70d0dc
......@@ -107,8 +107,8 @@ public class DeviceFragment extends Fragment {
}
@Override
public void onAttach(Activity activity) {
super.onAttach(activity);
public void onAttach(Context context) {
super.onAttach(context);
mActivity = ((MainActivity) getActivity());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment