OSDN Git Service

ProgressBar is important for accessibility by default.
authorSvetoslav <svetoslavganov@google.com>
Mon, 13 Jan 2014 23:25:58 +0000 (15:25 -0800)
committerSvetoslav Ganov <svetoslavganov@google.com>
Thu, 6 Mar 2014 19:31:19 +0000 (19:31 +0000)
commit6a1846a084fd09b3ade3fa80a49c29dcbe7cd60d
tree4be20b5fccdc7dc127f219910cd31c0ff2fad8ed
parent617e715a40e2867c0b30d1bae38c20815ee30071
ProgressBar is important for accessibility by default.

If a view does not have callbacks, or content description, or does not draw
content, and it is marked as important for accessibility auto, then the system
decides it is not important and does not report it. Apparently progress bar
draws content that means something and it should be important for accessibility
by default.

Change-Id: Icd3837fb8b9e208c98b90707f3b195622d71949e
(cherry picked from commit 7face75f2c655a371a4dcdf6063886f92c637ce4)
core/java/android/widget/ProgressBar.java