From 19545253f1977af3ef84b301183c2e12107983c9 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期三, 15 四月 2020 09:17:28 +0800 Subject: [PATCH] 2020-04-15 1.替换新的控件库。 --- 迪拜定制/SmartHome/ON/Application.cs | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git "a/\350\277\252\346\213\234\345\256\232\345\210\266/SmartHome/ON/Application.cs" "b/\350\277\252\346\213\234\345\256\232\345\210\266/SmartHome/ON/Application.cs" index 7768e01..12f766e 100644 --- "a/\350\277\252\346\213\234\345\256\232\345\210\266/SmartHome/ON/Application.cs" +++ "b/\350\277\252\346\213\234\345\256\232\345\210\266/SmartHome/ON/Application.cs" @@ -32,6 +32,8 @@ return; } + Shared.Application.IsGpsEnable = false; + base.OnCreate (); initAll (); @@ -50,8 +52,10 @@ Locale locale1 = Locale.Default; var localeList = Resources.Configuration.Locale; //if(localeList.Language == "zh") { - //Language.CurrentLanguage = "Chinese"; + //Language.CurrentLanguage = "Chinese"; //} + + string [] permissions = new string [] { Manifest.Permission.WriteExternalStorage, Manifest.Permission.RecordAudio, Manifest.Permission.Camera, Manifest.Permission.ProcessOutgoingCalls, Manifest.Permission.GetAccounts}; @@ -115,6 +119,8 @@ Console.WriteLine ("OnDestroyAction"); BusSocket.Stop (); }; + + HDLUtils.SetAuthoritiesName ("com.hdl.SmartCenter.fileProvider"); } public static bool IsShowTip = true; void init () -- Gitblit v1.8.0