HDL-ON_Android/Properties/AndroidManifest.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL_ON/Entity/Function/Function.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
HDL_ON/Entity/Function/Scene.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
HDL-ON_Android/Properties/AndroidManifest.xml
@@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="2.7.0" package="com.hdl.onpro" xmlns:tools="http://schemas.android.com/tools" android:versionCode="202409302"> <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="2.7.0" package="com.hdl.onpro" xmlns:tools="http://schemas.android.com/tools" android:versionCode="202409303"> <uses-sdk android:minSdkVersion="26" android:targetSdkVersion="29" /> <uses-permission android:name="android.permission.RECEIVE_SMS" /> <!--程序可以读取设备外部存储空间(内置SDcard和外置SDCard)的文件,我的文件等--> HDL_ON/Entity/Function/Function.cs
@@ -669,14 +669,20 @@ result = ApiUtlis.Ins.HttpRequest.CancelCollectDevice(deviceId).Code; } } //提示错误 if (result != StateCode.SUCCESS) { Application.RunOnMainThread(() => if (!Common.ApiUtlis.Ins.hadInternet) { collect = !collect; IMessageCommon.Current.ShowErrorInfoAlter(result); }); this.SaveFunctionFile(); } else { Application.RunOnMainThread(() => { collect = !collect; IMessageCommon.Current.ShowErrorInfoAlter(result); }); } } else { @@ -686,6 +692,7 @@ UI.HomePage.RefreshFunctionView(); }); } }) { IsBackground = true }.Start(); } HDL_ON/Entity/Function/Scene.cs
@@ -412,14 +412,20 @@ { result = ApiUtlis.Ins.HttpRequest.CancelCollectScene(userSceneId); } //提示错误 if (result != StateCode.SUCCESS) { Application.RunOnMainThread(() => if (!Common.ApiUtlis.Ins.hadInternet) { collect = !collect; IMessageCommon.Current.ShowErrorInfoAlter(result); }); this.SaveSceneFile(); } else { Application.RunOnMainThread(() => { collect = !collect; IMessageCommon.Current.ShowErrorInfoAlter(result); }); } } else {