version:1.0.0
update:更新aidl bugfixes:
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
// IGetInfoInterface.aidl
|
// IGetInfoInterface.aidl
|
||||||
package com.uiuios.sn;
|
package com.xxpatx.sn;
|
||||||
|
|
||||||
// Declare any non-default types here with import statements
|
// Declare any non-default types here with import statements
|
||||||
|
|
||||||
@@ -13,12 +13,8 @@ interface IGetInfoInterface {
|
|||||||
|
|
||||||
/*获取sn*/
|
/*获取sn*/
|
||||||
String getSerial();
|
String getSerial();
|
||||||
/*获取定位结果*/
|
|
||||||
String getMapResult();
|
|
||||||
/*获取WiFi名*/
|
/*获取WiFi名*/
|
||||||
String getWifiSsid();
|
String getWifiSsid();
|
||||||
/*获取蓝牙名*/
|
|
||||||
String getBluetoothSsid();
|
|
||||||
/*写入系统数据库*/
|
/*写入系统数据库*/
|
||||||
boolean SystemPutInt(String name, int value);
|
boolean SystemPutInt(String name, int value);
|
||||||
/*结束进程*/
|
/*结束进程*/
|
||||||
@@ -27,5 +23,4 @@ interface IGetInfoInterface {
|
|||||||
void openLauncher3();
|
void openLauncher3();
|
||||||
/*设置默认桌面*/
|
/*设置默认桌面*/
|
||||||
void setDefaultDesktop(String pkgName, String className);
|
void setDefaultDesktop(String pkgName, String className);
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -12,7 +12,7 @@ import android.util.Log;
|
|||||||
import com.tencent.bugly.crashreport.CrashReport;
|
import com.tencent.bugly.crashreport.CrashReport;
|
||||||
import com.tencent.mmkv.MMKV;
|
import com.tencent.mmkv.MMKV;
|
||||||
import com.xxpatx.os.config.CommonConfig;
|
import com.xxpatx.os.config.CommonConfig;
|
||||||
import com.uiuios.sn.IGetInfoInterface;
|
import com.xxpatx.sn.IGetInfoInterface;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.concurrent.CopyOnWriteArraySet;
|
import java.util.concurrent.CopyOnWriteArraySet;
|
||||||
@@ -168,19 +168,6 @@ public class RemoteManager {
|
|||||||
return "获取失败";
|
return "获取失败";
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getBluetoothDeviceName() {
|
|
||||||
if (mIGetInfoInterface != null) {
|
|
||||||
try {
|
|
||||||
return mIGetInfoInterface.getBluetoothSsid();
|
|
||||||
} catch (Exception e) {
|
|
||||||
Log.e(TAG, "killBackgroundProcesses: " + e.getMessage());
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
bindInfoService();
|
|
||||||
}
|
|
||||||
return "获取失败";
|
|
||||||
}
|
|
||||||
|
|
||||||
public void openLauncher3() {
|
public void openLauncher3() {
|
||||||
if (mIGetInfoInterface != null) {
|
if (mIGetInfoInterface != null) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user