Commit de23152b authored by fallenstardust's avatar fallenstardust

移除不使用传参

parent 848ce904
......@@ -716,7 +716,6 @@ public class HomeFragment extends BaseFragemnt implements OnDuelAssistantListene
duelAssistantManagement = DuelAssistantManagement.getInstance();
duelAssistantManagement.init(getActivity());
duelAssistantManagement.addDuelAssistantListener(this);
// YGOUtil.startDuelService(this);
}
@Override
......
......@@ -154,15 +154,6 @@ public class YGOUtil {
return visibleItemCount > 0 && lastVisibleItemPosition >= totalItemCount - 3 && state == RecyclerView.SCROLL_STATE_IDLE;
}
public static void startDuelService(Context context) {
// if (AppsSettings.get().isServiceDuelAssistant()) {
// if (!Util.startDuelService(context)) {
// getNotificationPermissionDialog(context).show();
// }
// }
}
//判断是否有悬浮窗权限
public static boolean isServicePermission(Context context, boolean isIntentPermission) {
if (!PermissionUtil.isServicePermission(context)) {
......
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