OSDN Git Service

Rebuilds ActionBar accessibility description as needed
authorCasey Burkhardt <caseyburkhardt@google.com>
Tue, 30 Apr 2013 22:56:41 +0000 (15:56 -0700)
committerCasey Burkhardt <caseyburkhardt@google.com>
Tue, 30 Apr 2013 23:05:56 +0000 (16:05 -0700)
commit8452a7f2f6cb5a67535ac3a0af3c46b3c16996ec
tree92906ba76787957a857ef741dfc01ec67fd22bef
parent906e57d8c03f887aab6a48001e9d0bdff9864365
Rebuilds ActionBar accessibility description as needed

Previously, ActionBarView only updated the contentDescription for the navigate
up/home affordance when it is enabled or disabled.  This causes that description
to be rebuilt and applied whenever the title or subtitle of the view is changed.
This also inadvertantly removes whitespace in ActionBarView.

Bug: 8757286
Change-Id: I1ea02cad20e0d5c0c57d071727cc647c4dd52d44
core/java/com/android/internal/widget/ActionBarView.java