From: Akash Kumar Date: Tue, 19 Sep 2023 09:06:12 +0000 (+0530) Subject: Resolve Bluetooth turning on, turning off info missing X-Git-Tag: accepted/tizen/unified/20230925.091521~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1950f57ed997d6e6371d7e37c17847759b4cfb50;p=profile%2Fiot%2Fapps%2Fdotnet%2Fsetting-bluetooth.git Resolve Bluetooth turning on, turning off info missing This patch: -Resolves jira https://code.sec.samsung.net/jira/browse/TEIGHT-5174 Signed-off-by: Akash Kumar Change-Id: I9ee3fd5aab11b904ba43dc834d548ab0279e6ec5 --- diff --git a/SettingBluetooth/SettingBluetooth/View/BtMainView.cs b/SettingBluetooth/SettingBluetooth/View/BtMainView.cs index 930fe23..9130524 100644 --- a/SettingBluetooth/SettingBluetooth/View/BtMainView.cs +++ b/SettingBluetooth/SettingBluetooth/View/BtMainView.cs @@ -23,6 +23,7 @@ namespace SettingBluetooth SettingBluetooth.mScanButton.IsEnabled = false; break; case BtOperationState.Deactivating: + BtDeviceView.UpdateSearchedTitle(Resources.IDS_ST_BODY_TURNING_OFF_BLUETOOTH); break; case BtOperationState.Activated: BtDeviceView.AddDeviceView(mMainView); @@ -30,6 +31,7 @@ namespace SettingBluetooth SettingBluetooth.mScanButton.IsEnabled = true; break; case BtOperationState.Activating: + BtDeviceView.UpdateSearchedTitle(Resources.IDS_ST_BODY_TURNING_ON_BLUETOOTH); break; case BtOperationState.Searching: BtDeviceView.RemoveAllSearchedDevices(); diff --git a/SettingBluetooth/SettingBluetooth/View/Resources.cs b/SettingBluetooth/SettingBluetooth/View/Resources.cs index a25f8d8..a22fa8e 100644 --- a/SettingBluetooth/SettingBluetooth/View/Resources.cs +++ b/SettingBluetooth/SettingBluetooth/View/Resources.cs @@ -18,6 +18,8 @@ namespace SettingBluetooth } static public string IDS_BT_BODY_SCANNING_FOR_DEVICES_ING = "Scanning for devices..."; + static public string IDS_ST_BODY_TURNING_OFF_BLUETOOTH = "Turning off Bluetooth..."; + static public string IDS_ST_BODY_TURNING_ON_BLUETOOTH = "Turning on Bluetooth..."; static public string IDS_BT_SK_STOP = "Stop"; static public string IDS_BT_BODY_AVAILABLE_DEVICES = "Available devices"; static public string IDS_BT_SK_SCAN = "Scan"; diff --git a/packaging/org.tizen.cssetting-bluetooth-1.0.0.rpk b/packaging/org.tizen.cssetting-bluetooth-1.0.0.rpk index ccef307..4f812cc 100644 Binary files a/packaging/org.tizen.cssetting-bluetooth-1.0.0.rpk and b/packaging/org.tizen.cssetting-bluetooth-1.0.0.rpk differ