efl_access: if 0 is set as reading_info_type, remove existing reading_info
authorShilpa Singh <shilpa.singh@samsung.com>
Mon, 25 Mar 2019 01:11:39 +0000 (10:11 +0900)
committerYeongjong Lee <yj34.lee@samsung.com>
Tue, 2 Apr 2019 03:45:17 +0000 (12:45 +0900)
commitde21762c3d70a1bcbfd19dc2f30f504dc75cc094
tree87e8cf51751ead22fbf7abdd4b2085090612f3fb
parent6ab05399bf4d66e9bfba1603348d184d3e9ab2ef
efl_access: if 0 is set as reading_info_type, remove existing reading_info

Summary:
if 0 is set as reading_info_type, remove existing reading_info and
allow default reading info types (name, role, state and description)
to be read.
Do not set reading info again in reading_info_type_set API if new
value matches the old value.

Test Plan:
If application does not set reading_info_type or set 0 reading_info_type,
All four reading info types of an accessible object should be read on highlight.

Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>
Reviewers: kimcinoo, jsuya, bu5hm4n, lukasz.stanislawski

Subscribers: prasoonsingh16, rajeev.jnnce, #reviewers, cedric, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8435

Change-Id: I5258ad5c6a1210c4880aa822ed1c504cf838b8ca
src/lib/elementary/efl_access_object.c
src/lib/elementary/efl_access_object.eo