Commit Graph

1870 Commits

Author SHA1 Message Date
Lei Yu
d9ab1dfeeb Merge "Add talk back for regulatory info" 2016-09-28 16:44:18 +00:00
Salvador Martinez
10f2654d85 Fixed talkback feedback for wifi menu am: 7c59e7ab53 am: ce18d5ea14
am: 2b55d2f527

Change-Id: Ie120676376037c80df91ff3dc15b120fb1c9db5d
2016-09-27 22:02:02 +00:00
Salvador Martinez
2b55d2f527 Fixed talkback feedback for wifi menu am: 7c59e7ab53
am: ce18d5ea14

Change-Id: I6f1fc0922cfab21da53219e560a46d94156e3533
2016-09-27 21:59:34 +00:00
Salvador Martinez
ce18d5ea14 Fixed talkback feedback for wifi menu
am: 7c59e7ab53

Change-Id: Id2a839f71ce23520cef7e69ca13c4f5c587cf4a5
2016-09-27 21:56:32 +00:00
Salvador Martinez
7c59e7ab53 Fixed talkback feedback for wifi menu
When you go to add a existing or new access
point for wifi talkback would say the
incorrect thing when you tapped on the
advanced options dropdown menu toggle.
This fixes what talkback says to more
accurately reflect what the widget does.

Test: Accessibility Scanner
Bug: 31623421
Change-Id: I9a00c4e8723014b0b3097f046dbcd1de01636e76
2016-09-27 14:51:10 -07:00
Steven Ng
d654c889b8 Merge "Provide fingerprint options for SET_NEW_PASSWORD intent" 2016-09-27 21:04:21 +00:00
jackqdyulei
d2c3886082 Add talk back for regulatory info
Bug: 30077425
Test: Manual -
1. Switch on talk back and click "Regulatory labels" in "About phone".
2. Click the regulatory image.
3. Check whether it has talk back.

Change-Id: Ia06d2d932f13a6973dfbd4899dcb17c67ae670f6
2016-09-26 16:02:00 -07:00
Stephen Chen
61462ae0ec Fix display summary string in Setup Wizard preview screen.
Bug: 31752790
Fixes: 31752790
Test: manual
Change-Id: I4f94dcd123cf9a95a6b3ef605e6575d844e338bb
2016-09-26 15:40:03 -07:00
Steven Ng
4fdcec71dc Provide fingerprint options for SET_NEW_PASSWORD intent
1) Added a trampoline activity to display SET_NEW_PASSWORD intent.
2) On devices that have fingerprint sensor and have no enrolled fingerprint,
   ChooseLockGeneric handles the SET_NEW_PASSWORD intent by providing
   fingerprint + {PIN/PATTERN/PASSWORD} and skip fingerprint options.

Test: See below
1) Auto
   make RunSettingsRoboTests
2) Manual
   a) Fingerprint + pattern
      i) $ adb shell am start -a android.app.action.SET_NEW_PASSWORD
      ii) Click Pixel Imprint + Pattern.
      iii) Set a pattern lock.
      iv) Can enroll a fingerprint.
   b) Pattern
      i) $ adb shell am start -a android.app.action.SET_NEW_PASSWORD
      ii) Click Continue without Pixel Imprint
      iii) A list of unlock options, without fingerprint option, is shown.
      vi) Select and enroll a pattern lock
   c) Has an existing password
      i) $ adb shell am start -a android.app.action.SET_NEW_PASSWORD
      ii) Setting app asks for password input.
      iii) Enter password and click "Continue without Pixel imprint".
      vi) No password is asked. A list of unlock options, without fingerprint option, is shown.
      v) Select and enroll a pattern lock
   d) Work profile
      i) Create a work profile
      ii) adb shell am start --user x -a android.app.action.SET_NEW_PASSWORD. X is the work profile user id.
      iii) Click Pixel Imprint + Pattern.
      iv) Set a pattern lock.
      v) Can enroll a fingerprint.

Bug: 23017051
Change-Id: I6384bbffb72a5d3a83972da7474532746e4d06b9
2016-09-26 22:13:08 +01:00
Robin Lee
660a944128 Merge "Enable the switch in TrustedCredentialsSettings" 2016-09-26 15:54:48 +00:00
Doris Ling
b1a2417fe9 Use default switch preference view if gesture animations video is not available. am: 08886a0e91 am: 38693095e3
am: 7c8de075d8

Change-Id: Icd2dd9b1f58c0957d651742dab16b291afcd750c
2016-09-23 22:07:04 +00:00
Doris Ling
7c8de075d8 Use default switch preference view if gesture animations video is not available. am: 08886a0e91
am: 38693095e3

Change-Id: I460835a7e0ba3737e530ae24f6a957ed5ac1e742
2016-09-23 19:10:06 +00:00
Doris Ling
38693095e3 Use default switch preference view if gesture animations video is not available.
am: 08886a0e91

Change-Id: I813a7b61b49c593d639621194d1e0929a2322605
2016-09-23 19:07:19 +00:00
Doris Ling
08886a0e91 Use default switch preference view if gesture animations video is not
available.

Check to see if animation video is available. If so, use the customized
view. Otherwise, use the default switch preference layout.

Test: make and run SettingsGoogleTests

Bug: 30701118
Change-Id: I0b25f41f8425b92834b45f706690648fb35a885d
2016-09-20 16:34:04 -07:00
Matthew Fritze
1823fba4a4 Update edit text padding on Bluetooth device renaming dialog am: 68125813b2 am: 152a666154
am: 86a343e8c5

Change-Id: I2c13095ddba956acfd1508e2624b33ceb0dd097a
2016-09-19 16:42:57 +00:00
Matthew Fritze
86a343e8c5 Update edit text padding on Bluetooth device renaming dialog am: 68125813b2
am: 152a666154

Change-Id: Ib420ca9f6a46a4768f9caff824ccf7924b41ceac
2016-09-19 16:39:26 +00:00
Matthew Fritze
152a666154 Update edit text padding on Bluetooth device renaming dialog
am: 68125813b2

Change-Id: I96e7f964342c5f5b41aa9dfb6aff4e0547551a79
2016-09-19 16:35:53 +00:00
Matthew Fritze
dcc265dcbf Merge "Update edit text padding on Bluetooth device renaming dialog" into nyc-mr1-dev 2016-09-19 16:29:44 +00:00
Noah Wang
071fab88eb Disable accessibility focus on the instruction video in magnification gesture screen. am: 93ec5312c5 am: 3e00d852c4
am: d8f9e29395

Change-Id: Ie27d136cd93a48eb4bef81fe07e34d7e66af4606
2016-09-15 19:48:59 +00:00
Noah Wang
d8f9e29395 Disable accessibility focus on the instruction video in magnification gesture screen. am: 93ec5312c5
am: 3e00d852c4

Change-Id: I322c47b86023f5ebb25b312515d69e8bbe5d08e5
2016-09-15 19:46:32 +00:00
Matthew Fritze
68125813b2 Update edit text padding on Bluetooth device renaming dialog
Change-Id: I490452925e1b66dd3f135b14c99a7a02ba238888
Fixes: 31383112
Test: Visually inspected
2016-09-15 11:02:08 -07:00
Noah Wang
93ec5312c5 Disable accessibility focus on the instruction video in magnification
gesture screen.

Test: Manually built and tested with Bullhead
Bug: 30898790
Change-Id: I399e2b9be33ebf6dd5100705eb5f2ba5c5cc98b1
2016-09-15 10:27:49 -07:00
Amin Shaikh
eed3639981 Fix crash when tapping on "Change Wallpaper". am: f7610f0f45 am: 20022a957d
am: 691313cad3

Change-Id: I03089865e7ed17c74c2671d3ef43ab9c6d41e8ce
2016-09-15 00:09:16 +00:00
Amin Shaikh
691313cad3 Fix crash when tapping on "Change Wallpaper". am: f7610f0f45
am: 20022a957d

Change-Id: Iffd960c32ef2100b525d1cc276e883ffa2b0648a
2016-09-14 19:13:57 +00:00
Amin Shaikh
f7610f0f45 Fix crash when tapping on "Change Wallpaper".
Bug: 31306517
Change-Id: I896311917d4954f78dd689bd1a40b03e7f94284e
2016-09-13 22:52:15 -07:00
Robin Lee
bed8559a20 Enable the switch in TrustedCredentialsSettings
And match the behaviour of the dialog button that does the same thing,
so it only asks for confirmation when something is being irrevocably
deleted.

The dialog button should not be removed as it's used by system services
that deeplink to a specific cert to give the option of reviewing,
removing, or trusting it.

Bug: 31159682
Change-Id: I4fb3f38f8ab0e80e5c2dca0fc3d6d3bd4db26bb6
2016-09-02 11:03:32 +01:00
Andrew Sapperstein
e6c06f826f Use LinkTextView for support disclaimer text. am: 7e9146950d am: d63e187b1a am: c3733b8653
am: 25d10fd293

Change-Id: Ie1ac8f05cbe91dd99ea3840c02932ba98050eb91
2016-08-31 01:19:30 +00:00
Andrew Sapperstein
25d10fd293 Use LinkTextView for support disclaimer text. am: 7e9146950d am: d63e187b1a
am: c3733b8653

Change-Id: I0ecdd164e846e6af7085ff83e8c177f085b9e958
2016-08-31 00:39:59 +00:00
Andrew Sapperstein
d63e187b1a Use LinkTextView for support disclaimer text.
am: 7e9146950d

Change-Id: Ia4a998039bfcdea3419a512d342665248f0b7ac3
2016-08-31 00:28:27 +00:00
Andrew Sapperstein
7e9146950d Use LinkTextView for support disclaimer text.
LinkTextView uses LinkAccessibilityHelper to properly handle
making links accessible.

Deleted Settings' outdated fork for the version in setupwizardlib.

Test: manual

Change-Id: I38c031f96b5be0d45e4cc1aa358f95b229f17480
Fixes: 31077012
2016-08-30 19:57:39 +00:00
Maurice Lam
0477112d77 Fix fingerprint progress bar in RTL am: e8da03bcaa
am: 4a637f1496

Change-Id: Iaa3370efbcfd06608a9b42818b6c207f67d76017
2016-08-26 01:37:21 +00:00
Maurice Lam
e8da03bcaa Fix fingerprint progress bar in RTL
Bug: 31047779
Change-Id: Ia6961d9fa425a8a247365f75f5c00955d69d2c60
(cherry picked from commit 6e300bca3a)
2016-08-25 23:28:25 +00:00
Maurice Lam
6e300bca3a Fix fingerprint progress bar in RTL
Bug: 31047779
Change-Id: Ia6961d9fa425a8a247365f75f5c00955d69d2c60
2016-08-25 01:55:37 +00:00
Fan Zhang
017d6048c4 Force phone number display to be LTR in support tab. am: 68c6d9956f am: 197829fb8a
am: 97df6439b9

Change-Id: I38eac1a0e7a55298cec6a818a051424306721752
2016-08-24 02:09:27 +00:00
Fan Zhang
197829fb8a Force phone number display to be LTR in support tab.
am: 68c6d9956f

Change-Id: Ib5a7b11f9063af047f37a1f342ec715c590cb337
2016-08-23 22:43:30 +00:00
Doris Ling
9ca6758e0b Add scrollbar to Settings app. am: 124251d54e
am: 13a4eeb2a9

Change-Id: Ifbb3c930d259bc65ec54ffa496c2cfcdb5bb9a63
2016-08-23 21:46:42 +00:00
Salvador Martinez
22d1849e6a resolve merge conflicts of 052975e to master
Change-Id: I276079d08c2a73b2b00b065da666e33b33642fbd
2016-08-23 14:00:59 -07:00
Fan Zhang
68c6d9956f Force phone number display to be LTR in support tab.
Bug: 31030062
Test: manual switch between LTR/RLT languages

Change-Id: I94272c0ecbfa2f96842838c0f590b3704cd5c020
(cherry picked from commit dcfdde5a2c)
2016-08-23 20:41:02 +00:00
Doris Ling
a44f2e0f8f Fix margin in Tap & pay -> Payment default. am: 9e29ac7983
am: 88842736d7

Change-Id: Ia933244f4d9bf6cf2700f1815a77bbfcf47468e0
2016-08-23 18:29:07 +00:00
Salvador Martinez
1e9b8e67ff Made dialog material design compliant am: cfee94d448
am: 676db52b64

Change-Id: I2b5cdd12cda5b364afb1532e548b090144084a45
2016-08-23 18:26:40 +00:00
Salvador Martinez
052975ed22 Settings Focus prevented from moving to pref am: 41fc4e8cb7
am: ce14c1e5eb

Change-Id: I56f870955b8bc534e21fec821404fe38c75a8e65
2016-08-23 18:26:38 +00:00
Doris Ling
124251d54e Add scrollbar to Settings app.
Overlay PreferenceTheme to add scrollbar to the view, and also add
scrollbar to the dashboard.

Change-Id: I2273b0825b200048bd1914923b551a593aa1e16d
Fixes: 30204662
Test: manual - Launch Settings and different sub-settings, and verify
that scrollbar is shown for screen that can be scrolled.
2016-08-23 10:46:06 -07:00
Fan Zhang
dcfdde5a2c Force phone number display to be LTR in support tab.
Bug: 31030062
Change-Id: I94272c0ecbfa2f96842838c0f590b3704cd5c020
2016-08-23 09:18:13 -07:00
Doris Ling
88842736d7 Fix margin in Tap & pay -> Payment default.
am: 9e29ac7983

Change-Id: I04ffd2ec727a87096c554ae452ed58f5c2483f1e
2016-08-23 16:07:10 +00:00
Salvador Martinez
676db52b64 Made dialog material design compliant
am: cfee94d448

Change-Id: If01b0f216ff0a8cadaa0d659b89a0c03136ce406
2016-08-23 14:43:40 +00:00
Salvador Martinez
ce14c1e5eb Settings Focus prevented from moving to pref
am: 41fc4e8cb7

Change-Id: Ifc9b53a0514830e73a06311e27acbca57b476a0d
2016-08-23 14:43:39 +00:00
Doris Ling
15c13f9e10 Merge "Fix margin in Tap & pay -> Payment default." into nyc-mr1-dev 2016-08-23 01:29:41 +00:00
jackqdyulei
83c6cfa463 Fix the nullpointer bug in monkey test. am: 409c4708c1
am: fbed8d95e9

Change-Id: Ia93f4051af386b8d6dee02d7c617fe75730e9fc2
2016-08-22 22:32:17 +00:00
jackqdyulei
fbed8d95e9 Fix the nullpointer bug in monkey test.
am: 409c4708c1

Change-Id: I03e6e3a5951f587169d0b2758283bff069b925a2
2016-08-22 22:20:50 +00:00
Salvador Martinez
4f6755931e Merge "Made dialog material design compliant" into nyc-mr1-dev 2016-08-22 21:56:06 +00:00