OSDN Git Service

Set preference unselectable using the DividerPreference.
authorjackqdyulei <jackqdyulei@google.com>
Wed, 31 Aug 2016 21:17:26 +0000 (14:17 -0700)
committerjackqdyulei <jackqdyulei@google.com>
Thu, 22 Sep 2016 19:53:55 +0000 (12:53 -0700)
commit64e00da86019759db0e8990ffdacb9fc4ef77445
treed68b408e527948002007be5b5b68517810c262c9
parent727186bd33bed20d813ec404c195739cf1174b75
Set preference unselectable using the DividerPreference.

In this way, when talking back is on, device won't speaking "Double
tap to activate" for no-action perference. The preference will have
divider line but lose ripple animation.

Bug: 31051833
Test: Manual Test. Cannot find a way to test it in testing framework.
1. Turn on the talk back.
2. Go to "About phone" Settings.
3. Tap and listen.

Change-Id: I2066d574e14071408c5a1db85a3bd4dafd8429fe
res/xml/device_info_settings.xml