mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-30 13:47:41 +00:00
Use non-deprecated onAttach override
This commit is contained in:
@@ -107,8 +107,8 @@ public class DeviceFragment extends Fragment {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onAttach(Activity activity) {
|
public void onAttach(Context context) {
|
||||||
super.onAttach(activity);
|
super.onAttach(context);
|
||||||
mActivity = ((MainActivity) getActivity());
|
mActivity = ((MainActivity) getActivity());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user