version:1.5

fix:
update:基本功能对接完成
This commit is contained in:
2023-03-02 16:01:07 +08:00
parent 2772685f0e
commit f79567f303
93 changed files with 5813 additions and 187 deletions

View File

@@ -7,6 +7,7 @@ import android.content.Intent;
import android.content.ServiceConnection;
import android.os.IBinder;
import android.os.RemoteException;
import android.provider.Settings;
import android.text.TextUtils;
import android.util.Log;
@@ -270,4 +271,24 @@ public class RemoteManager {
return mapBean.getLongitude() + "," + mapBean.getLatitude();
}
}
public boolean getSnIsActivation() {
try {
return mGetInfoInterface.SnIsActivation();
} catch (RemoteException e) {
e.printStackTrace();
Log.e(TAG, "getSnIsActivation: " + e.getMessage());
int is_activation = Settings.Global.getInt(mContext.getContentResolver(), CommonConfig.UIUI_ACTIVATION_KEY, 0);
return is_activation == 1;
}
}
public void setDefaultDesktop() {
try {
mGetInfoInterface.setDefaultLauncher(BuildConfig.APPLICATION_ID);
} catch (RemoteException e) {
Log.e(TAG, "setDefaultDesktop: " + e.getMessage());
e.printStackTrace();
}
}
}