return;
}
- // Both QuickPanel and Apps are shown
- if( ( info & ( 1 << QUICKPANEL_TYPE_SYSTEM_DEFAULT ) ) && ( info & ( 1 << QUICKPANEL_TYPE_APPS_MENU ) ) )
+ if( ( ( info & ( 1 << QUICKPANEL_TYPE_SYSTEM_DEFAULT ) ) && ( info & ( 1 << QUICKPANEL_TYPE_APPS_MENU ) ) ) || // Both QuickPanel and Apps are shown
+ ( info & ( 1 << QUICKPANEL_TYPE_SYSTEM_DEFAULT ) ) ) // QuickPanel is shown
{
// dali apps should be disabled.
accessibilityAdaptor->DisableAccessibility();
}
- // Only Apps menu (dali application) is shown
- else if( info & ( 1 << QUICKPANEL_TYPE_APPS_MENU ) )
+ else if( info & ( 1 << QUICKPANEL_TYPE_APPS_MENU ) ) // Only Apps menu (dali application) is shown
{
- // dali app should be enabled.
- accessibilityAdaptor->EnableAccessibility();
- }
- // QuickPanel is shown
- else if( info & ( 1 << QUICKPANEL_TYPE_SYSTEM_DEFAULT ) )
- {
- // dali app should be disabled.
- accessibilityAdaptor->DisableAccessibility();
+ if( !accessibilityAdaptor->IsForcedEnable() ) // It is not in case of that an application controls the accessibility status itself
+ {
+ accessibilityAdaptor->DisableAccessibility();
+ }
}
else
{
accessibilityAdaptor->EnableAccessibility();
}
-
#endif
}