统一升级Android依赖包,AndroidX

This commit is contained in:
董宏宇
2021-09-06 15:28:35 +08:00
parent a853b47f05
commit a454f3649e
21 changed files with 61 additions and 40 deletions

View File

@@ -2,7 +2,6 @@ package com.mogo.cloud.socket;
import android.content.Context;
import android.support.annotation.NonNull;
import com.google.protobuf.ByteString;
import com.google.protobuf.InvalidProtocolBufferException;
@@ -25,6 +24,8 @@ import java.util.concurrent.ConcurrentHashMap;
import static com.mogo.cloud.socket.SocketServicesConstants.TAG;
import androidx.annotation.NonNull;
/**
* Socket 长链核心服务

View File

@@ -1,7 +1,6 @@
package com.mogo.cloud.socket;
import android.support.annotation.Keep;
import com.mogo.cloud.passport.MoGoAiCloudClient;
import com.mogo.cloud.passport.MoGoAiCloudClientConfig;
@@ -12,6 +11,8 @@ import static com.mogo.cloud.httpdns.MogoHttpDnsConfig.HTTP_DNS_ENV_DEV;
import static com.mogo.cloud.httpdns.MogoHttpDnsConfig.HTTP_DNS_ENV_QA;
import static com.mogo.cloud.httpdns.MogoHttpDnsConfig.HTTP_DNS_ENV_RELEASE;
import androidx.annotation.Keep;
public class SocketServicesConstants {
public static final String TAG = "MoGoAiCloud_Socket";

View File

@@ -1,7 +1,6 @@
package com.mogo.cloud.socket.third;
import android.content.Context;
import android.support.annotation.NonNull;
import com.mogo.cloud.passport.MoGoAiCloudClient;
import com.mogo.cloud.passport.MoGoAiCloudClientConfig;
@@ -20,6 +19,8 @@ import static com.mogo.cloud.socket.SocketServicesConstants.SOCKET_CHANNEL_ID;
import static com.mogo.cloud.socket.SocketServicesConstants.TAG;
import static com.mogo.cloud.socket.SocketServicesConstants.getEnvironment;
import androidx.annotation.NonNull;
public class ThirdSocketManager implements Callback {
private static volatile ThirdSocketManager mInstance;