From 1c4904d77f484c075080942d87785481b52b6fb2 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期一, 28 十月 2019 14:58:46 +0800 Subject: [PATCH] Revert "Merge branch 'dev-tzy' into DEV_GXC" --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlBackupLogic.cs | 37 +------------------------------------ 1 files changed, 1 insertions(+), 36 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlBackupLogic.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlBackupLogic.cs index 8fd93bc..a5ef6ca 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlBackupLogic.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlBackupLogic.cs @@ -98,10 +98,6 @@ /// <returns></returns> public async Task<string> GetBackFileFromDBAndSetToLocation(string BackupClassId, bool IsGatewayAutoBackup = false, string ZigbeeUniqueId = null) { - //涓嶅厑璁告寜绯荤粺鐨勮繑鍥為敭 - Shared.Common.CommonPage.BackKeyCanClick = false; - UserCenterResourse.Option.AppCanSignout = false; - //棣栧厛鍏堝垱寤轰竴涓复鏃舵枃浠跺す,瀛樺湪鏂囦欢鍒欐竻绌� string newDir = System.IO.Path.Combine(DirNameResourse.LocalMemoryDirectory, DirNameResourse.DownLoadBackupTempDirectory); Global.CreateEmptyDirectory(newDir, true); @@ -115,9 +111,6 @@ { //鍏抽棴杩涘害鏉� ProgressBar.Close(); - //鍏佽鎸夌郴缁熺殑杩斿洖閿� - Shared.Common.CommonPage.BackKeyCanClick = true; - UserCenterResourse.Option.AppCanSignout = true; return null; } //璁剧疆鏈�澶у�� @@ -138,9 +131,6 @@ { //鍏抽棴杩涘害鏉� ProgressBar.Close(true); - //鍏佽鎸夌郴缁熺殑杩斿洖閿� - Shared.Common.CommonPage.BackKeyCanClick = true; - UserCenterResourse.Option.AppCanSignout = true; return null; } @@ -151,9 +141,6 @@ { //鍏抽棴杩涘害鏉� ProgressBar.Close(); - //鍏佽鎸夌郴缁熺殑杩斿洖閿� - Shared.Common.CommonPage.BackKeyCanClick = true; - UserCenterResourse.Option.AppCanSignout = true; return null; } //灏嗚緭鍏ュ啓鍏ユ湰鍦扮殑涓存椂鏂囦欢澶� @@ -163,9 +150,6 @@ } //鍏抽棴杩涘害鏉� ProgressBar.Close(); - //鍏佽鎸夌郴缁熺殑杩斿洖閿� - Shared.Common.CommonPage.BackKeyCanClick = true; - UserCenterResourse.Option.AppCanSignout = true; return newDir; } @@ -291,10 +275,6 @@ ProgressBar.Show(); } - //涓嶅厑璁告寜绯荤粺鐨勮繑鍥為敭 - Shared.Common.CommonPage.BackKeyCanClick = false; - UserCenterResourse.Option.AppCanSignout = false; - //浣犺涓轰粈涔堣繖閲屼笉鍒嗕竴涓嚱鏁板嚭鏉ワ紙鐞嗚涓婃槸鍒嗗嚱鏁板嚭鏉ョ殑锛� //鏄洜涓哄鏋滃垎鍑芥暟鐨勮瘽锛屼細鍑虹幇鍙岄噸寮傛锛屽鑷翠富绾跨▼鐨勮繘搴︽潯鐨勭櫨鍒嗘瘮姘歌繙瀹氭0% foreach (string file in listNormalFile) @@ -304,9 +284,6 @@ { //鍏抽棴杩涘害鏉� ProgressBar.Close(true); - //鍏佽鎸夌郴缁熺殑杩斿洖閿� - Shared.Common.CommonPage.BackKeyCanClick = true; - UserCenterResourse.Option.AppCanSignout = true; return false; } //鍒ゆ柇鏄惁鏄簲璇ヤ笂浼犵殑鏂囦欢 @@ -329,9 +306,6 @@ { //鍏抽棴杩涘害鏉� ProgressBar.Close(); - //鍏佽鎸夌郴缁熺殑杩斿洖閿� - Shared.Common.CommonPage.BackKeyCanClick = true; - UserCenterResourse.Option.AppCanSignout = true; return false; } //璁剧疆杩涘害鍊� @@ -345,9 +319,6 @@ { //鍏抽棴杩涘害鏉� ProgressBar.Close(true); - //鍏佽鎸夌郴缁熺殑杩斿洖閿� - Shared.Common.CommonPage.BackKeyCanClick = true; - UserCenterResourse.Option.AppCanSignout = true; return false; } @@ -360,9 +331,6 @@ { //鍏抽棴杩涘害鏉� ProgressBar.Close(); - //鍏佽鎸夌郴缁熺殑杩斿洖閿� - Shared.Common.CommonPage.BackKeyCanClick = true; - UserCenterResourse.Option.AppCanSignout = true; return false; } //璁剧疆杩涘害鍊� @@ -378,9 +346,6 @@ //杩涘害鏉″叧闂� ProgressBar.Close(); - //鍏佽鎸夌郴缁熺殑杩斿洖閿� - Shared.Common.CommonPage.BackKeyCanClick = true; - UserCenterResourse.Option.AppCanSignout = true; return true; } @@ -705,7 +670,7 @@ /// <returns></returns> private string GetBase64Text(string fileName) { - string path = Config.Instance.FullPath; + string path = UserCenterResourse.LocalRootPath; string fullName = System.IO.Path.Combine(path, fileName); FileStream fs = File.OpenRead(fullName); -- Gitblit v1.8.0