Merge "Add funtionality to add and remove quick setting buttons" into tizen
authorAmritanshu Pandia <a.pandia1@samsung.com>
Tue, 23 Feb 2021 10:19:30 +0000 (10:19 +0000)
committerGerrit Code Review <gerrit@review>
Tue, 23 Feb 2021 10:19:30 +0000 (10:19 +0000)
1  2 
src/settings/modules/voice-control.c

index d32c0cea4315d880f3ef4e8c9c972737e5d4ef08,ab34d1adb65c65246b3f8a86c451e25a521c99c6..338e5e023efda84dca858bbf3c99fe2a344c7ad6
@@@ -242,9 -243,21 +242,21 @@@ static void _refresh(void *data
        quickpanel_setting_module_icon_view_update_text(module);
  }
  
+ static int _support_get()
+ {
+       // if don't want to support than return 0
+ #ifdef ENABLE_QUICK_BUTTON_VC
+       return 1;
+ #else
+       return 0;
+ #endif
+ }
  QP_Module_Setting voicecontrol = {
        .name                           = "voicecontrol",
 -      .setting_pkgname        = "org.tizen.voice-control-panel",
 +      .setting_pkgname        = "org.tizen.voice-setting",
        .init                           = _init,
        .fini                           = _fini,
        .lang_changed           = _lang_changed,