[ATSPI] make NotifyAccessibilityStateChange work 74/266774/3
authorShinwoo Kim <cinoo.kim@samsung.com>
Thu, 18 Nov 2021 11:25:03 +0000 (20:25 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Fri, 19 Nov 2021 10:37:08 +0000 (19:37 +0900)
commit43392ef73a44eccb5fa26dae4d589b802eeb35e3
tree3e4933039fd8eea7d1b1a367a484d5b391de45e7
parenta91147378df8cef80ebb05c25aa051b90f6c7ee0
[ATSPI] make NotifyAccessibilityStateChange work

The NotifyAccessibilityStateChange did not work correctly.
Because "currentState.size()" return 2 always.
And following line set newValue to 1 always.

  data->mBridge->EmitStateChanged(this, index, 1, 0);

The NotifyAccessibilityStateChange was totally incorrect.

Change-Id: If897084dc5b12b1c92711ef752187cc82fd7b01b
dali/internal/accessibility/bridge/accessible.cpp