[WRTjs][VD] Enable ChannelKey register mode in Tizen9.0 TV 54/317154/3 accepted/tizen_unified_dev accepted/tizen/unified/20240911.104710 accepted/tizen/unified/dev/20240913.055606 accepted/tizen/unified/x/20240911.084240 submit/tizen/20240905.160018
authorliwei90727 <wei90727.li@samsung.com>
Thu, 5 Sep 2024 00:53:58 +0000 (08:53 +0800)
committerBot Blink <blinkbot@samsung.com>
Thu, 5 Sep 2024 09:34:39 +0000 (09:34 +0000)
In RISCV, TIZEN_TV_KEYROUTER_CONFIG_MODE_LONGPRESS_KEY_HANDOVER
are not support, so need exclude RISCV.

Change-Id: Ic7e51246233db7214aab680e3ab80f24f1d605f1
Signed-off-by: liwei90727 <wei90727.li@samsung.com>
wrt/src/browser/tv/input_device_manager.cc

index a874e8bd20b0390ee9afd036ab7bde6f8b23ebb1..e1974bd67ccd76ee72895ed29c3ce1fe7310a849 100644 (file)
@@ -164,7 +164,7 @@ Eina_Bool InputDeviceManager::HandleKeyRouter(void* data) {
 }
 
 void InputDeviceManager::RegisterChannelKeyAsModeRegisted() {
-#if TIZEN_VERSION_AT_LEAST(9, 0, 0) || !BUILDFLAG(IS_RISCV64_TV)
+#if TIZEN_VERSION_AT_LEAST(9, 0, 0) && !BUILDFLAG(IS_RISCV64_TV)
   if (!focus_surface_) {
     LOG(INFO) << "focus_surface_ is null";
     return;