version:1.8.7
fix: update:去掉butterknife
This commit is contained in:
@@ -27,7 +27,7 @@ import io.reactivex.rxjava3.core.Observer;
|
||||
import io.reactivex.rxjava3.disposables.Disposable;
|
||||
|
||||
public class AmapManager {
|
||||
private static final String TAG = AmapManager.class.getSimpleName();
|
||||
private static final String TAG = "AmapManager";
|
||||
|
||||
MMKV mMMKV = MMKV.mmkvWithID(CommonConfig.MMKV_ID, MMKV.MULTI_PROCESS_MODE);
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ import java.util.function.Function;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
public class AppManager {
|
||||
private static final String TAG = AppManager.class.getSimpleName();
|
||||
private static final String TAG = "AppManager";
|
||||
|
||||
public static final String ADD_NAME = "com.zyos.add";
|
||||
public static final String APPSTORE_PACKAGE_NAME = "com.uiui.zyappstore";
|
||||
|
||||
@@ -9,7 +9,7 @@ import com.uiui.zyos.config.CommonConfig;
|
||||
import com.uiui.zyos.utils.TimeUtils;
|
||||
|
||||
public class ConnectManager {
|
||||
private static final String TAG = ConnectManager.class.getSimpleName();
|
||||
private static final String TAG = "ConnectManager";
|
||||
|
||||
|
||||
public static final long ONE_MINUTES_TIME = 60 * 1000;
|
||||
|
||||
@@ -14,22 +14,18 @@ import android.util.Log;
|
||||
import com.alibaba.sdk.android.push.CloudPushService;
|
||||
import com.alibaba.sdk.android.push.CommonCallback;
|
||||
import com.alibaba.sdk.android.push.noonesdk.PushServiceFactory;
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
import com.tencent.bugly.crashreport.CrashReport;
|
||||
import com.tencent.mmkv.MMKV;
|
||||
import com.uiui.zy.IGetInfoInterface;
|
||||
import com.uiui.zyos.bean.MapBean;
|
||||
import com.uiui.zyos.config.CommonConfig;
|
||||
|
||||
import java.lang.reflect.Type;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
public class RemoteManager {
|
||||
private static final String TAG = RemoteManager.class.getSimpleName();
|
||||
private static final String TAG = "RemoteManager";
|
||||
|
||||
@SuppressLint("StaticFieldLeak")
|
||||
private static RemoteManager sInstance;
|
||||
@@ -58,7 +54,7 @@ public class RemoteManager {
|
||||
mGetInfoInterface = IGetInfoInterface.Stub.asInterface(service);
|
||||
mServiceConnected = true;
|
||||
for (ConnectedListener listener : mListeners) {
|
||||
listener.onConnected();
|
||||
listener.onRemoteConnected();
|
||||
}
|
||||
try {
|
||||
String sn = mGetInfoInterface.getSerial();
|
||||
@@ -118,7 +114,7 @@ public class RemoteManager {
|
||||
}
|
||||
|
||||
public interface ConnectedListener {
|
||||
void onConnected();
|
||||
void onRemoteConnected();
|
||||
}
|
||||
|
||||
private static Set<ConnectedListener> mListeners = new HashSet<>();
|
||||
@@ -126,7 +122,7 @@ public class RemoteManager {
|
||||
public static void setListener(ConnectedListener listener) {
|
||||
mListeners.add(listener);
|
||||
if (mServiceConnected) {
|
||||
listener.onConnected();
|
||||
listener.onRemoteConnected();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user