OSDN Git Service

Simplify volume dialog title for a11y
authorPhil Weaver <pweaver@google.com>
Mon, 12 Feb 2018 18:40:31 +0000 (10:40 -0800)
committerPhil Weaver <pweaver@google.com>
Mon, 12 Feb 2018 19:13:52 +0000 (11:13 -0800)
commit4ed5e98f82dc008200f25475ab39ceb5ac923fd0
treeba77b39d03fd66123b73bc6bd482f1b5cade8b7e
parentcbc4d36dcc93442c5b9604443f14bf9723e9bebc
Simplify volume dialog title for a11y

The dialog was asked to essentially self-voice its
transitions a couple of years back. This isn't consistent
with our general guidelines for a11y, and isn't easy to
support. Rather than updating the messages, which will
still leave this dialog inconsistent with others, I'm
just deleting the extra code.

Just setting the dialog's title to the correct string is
enough for GAR, so I've added that back in.

Bug: 73170352
Test: Confirming with TestBack that the correct title is
sent to accessibility services when the window appears.

Change-Id: If219f86e43fa262604a09226a02bdd4c08ae4c1a
packages/SystemUI/res/values/strings.xml
packages/SystemUI/src/com/android/systemui/volume/VolumeDialogImpl.java