diff --git a/app/src/main/aidl/com/uiuios/sn/IGetInfoInterface.aidl b/app/src/main/aidl/com/xxpatx/sn/IGetInfoInterface.aidl similarity index 84% rename from app/src/main/aidl/com/uiuios/sn/IGetInfoInterface.aidl rename to app/src/main/aidl/com/xxpatx/sn/IGetInfoInterface.aidl index b8d5038..e49f34c 100644 --- a/app/src/main/aidl/com/uiuios/sn/IGetInfoInterface.aidl +++ b/app/src/main/aidl/com/xxpatx/sn/IGetInfoInterface.aidl @@ -1,5 +1,5 @@ // IGetInfoInterface.aidl -package com.uiuios.sn; +package com.xxpatx.sn; // Declare any non-default types here with import statements @@ -13,12 +13,8 @@ interface IGetInfoInterface { /*获取sn*/ String getSerial(); - /*获取定位结果*/ - String getMapResult(); /*获取WiFi名*/ String getWifiSsid(); - /*获取蓝牙名*/ - String getBluetoothSsid(); /*写入系统数据库*/ boolean SystemPutInt(String name, int value); /*结束进程*/ @@ -27,5 +23,4 @@ interface IGetInfoInterface { void openLauncher3(); /*设置默认桌面*/ void setDefaultDesktop(String pkgName, String className); - } \ No newline at end of file diff --git a/app/src/main/java/com/xxpatx/os/manager/RemoteManager.java b/app/src/main/java/com/xxpatx/os/manager/RemoteManager.java index 4cabd63..9c5a0e6 100644 --- a/app/src/main/java/com/xxpatx/os/manager/RemoteManager.java +++ b/app/src/main/java/com/xxpatx/os/manager/RemoteManager.java @@ -12,7 +12,7 @@ import android.util.Log; import com.tencent.bugly.crashreport.CrashReport; import com.tencent.mmkv.MMKV; import com.xxpatx.os.config.CommonConfig; -import com.uiuios.sn.IGetInfoInterface; +import com.xxpatx.sn.IGetInfoInterface; import java.util.Set; import java.util.concurrent.CopyOnWriteArraySet; @@ -168,19 +168,6 @@ public class RemoteManager { 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() { if (mIGetInfoInterface != null) { try {