Commit Graph

4085 Commits

Author SHA1 Message Date
Steven Ng
d654c889b8 Merge "Provide fingerprint options for SET_NEW_PASSWORD intent" 2016-09-27 21:04:21 +00:00
Daniel Nishi
87559ef035 resolve merge conflicts of 2c826d7 to master
Change-Id: I2b2a1b195f07143690f5902b6a6f78ba1b30d7ea
2016-09-27 10:00:09 -07:00
Daniel Nishi
4a0d18987e Fix a deprecated config string name for the storage manager settings.
am: b3405649fa

Change-Id: I31f5cf3239c5e2c3d2832e6e56280e22e80e27d8
2016-09-27 16:41:10 +00:00
Ruben Brunk
9623588d81 Improve text for VR Settings. am: f345b8cb36 am: 5220c925fc
am: 14352821d0

Change-Id: Id4a9d03885dcfda744729eb3635e62f57516ad87
2016-09-27 02:30:35 +00:00
Salvador Martinez
3dd10e14e8 Added strings for advanced wifi accessibility am: 45f79c2f20 am: ba0baa312d
am: 3d710bdc70

Change-Id: I4ac7b76f50b66fccd1d04cdc7004e3ed66d6f45d
2016-09-27 02:30:07 +00:00
Ruben Brunk
5220c925fc Improve text for VR Settings.
am: f345b8cb36

Change-Id: I9fef78adc08d9a652d5e008cb019ec5d5364752a
2016-09-27 01:08:43 +00:00
Salvador Martinez
ba0baa312d Added strings for advanced wifi accessibility
am: 45f79c2f20

Change-Id: I5207f6b4e2c43e0aaa9e1b4e849f05e25e29b7a8
2016-09-27 00:34:40 +00:00
Salvador Martinez
45f79c2f20 Added strings for advanced wifi accessibility
These strings are needed for talkback to
say the correct thing when a user taps
on advanced options in the dialog to
add a new access point.

Test: Accessibility Scanner
Bug: 30079196
Change-Id: I6208cc01f6434780ba56296769cfaa05b6a6aaaa
2016-09-26 17:07:27 -07:00
Ruben Brunk
f345b8cb36 Improve text for VR Settings.
Bug: 31101223

Change-Id: I5c529e76cc6b802cae01301f67dad2e51fb4ad49
2016-09-26 15:50:53 -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
Doris Ling
dc6f7bd0b2 Update gesture settings text. am: 8ff630966a am: 5252165f6a
am: e816be1565

Change-Id: Id12528f90bf67eb3ce66f7fe4ca2fa5b9d8c509a
2016-09-26 20:39:54 +00:00
Daniel Nishi
b3405649fa Fix a deprecated config string name for the storage manager settings.
The old string was used for configuration purposes, but the change was
removed. A previous patch accidentally used the old string for
choosing if the activity was exported or not.

Bug: 31621740

Change-Id: I9471e3a4c6d64d3fb8be7cbfcf058d35364892a5
2016-09-26 11:40:55 -07:00
Doris Ling
8ff630966a Update gesture settings text.
Update the preference title and summary for Ambient Display Double-tap
and Pickup gestures.

Test: manual - launch gestures settings and verify latest strings are
used.

Bug: 30595437
Change-Id: I029c2048603563ea20f5030e381a9e7a624d0e85
2016-09-26 17:19:35 +00:00
Doris Ling
430025c4d6 Split Ambient Display settings. am: 1ad58d0abf am: f89766dbab
am: 0dfe46fe58

Change-Id: I33ffaa71c09cff7a4df496c42371519367e1772c
2016-09-24 00:35:24 +00:00
Doris Ling
f89766dbab Split Ambient Display settings.
am: 1ad58d0abf

Change-Id: Ie47c7504728bb225214ee8c348af8a154cb5a1f2
2016-09-24 00:05:17 +00:00
TreeHugger Robot
4f8a703d51 Merge "Split Ambient Display settings." into nyc-mr1-dev 2016-09-24 00:00:05 +00:00
Doris Ling
1ad58d0abf Split Ambient Display settings.
1. Reverting the changes for Display->Ambient Display; this setting
   will control incoming notification pulse.
2. Added 2 separate entries in gestures settings to control pick up
   and double tap gestures-triggered pulsing for Ambient Display.
3. Added automated tests to verify the preference initializes to the
   correct default value, and also verify that toggling the preference
   updates the corresponding settings correctly.

Test: make SettingsTests

Bug: 30595437
Change-Id: I125bf75fc4ccfea126a00ffae4207fcb789f487a
2016-09-23 15:33:37 -07:00
Daniel Nishi
bfe5afc270 Use a config flag instead of a RO flag for showing Manage Storage.
am: c0b33f70ed

Change-Id: I5b178d6e345ecc43689e0e1b5d6102e60b33037a
2016-09-23 22:31:34 +00:00
Daniel Nishi
3843dd96f5 Merge "Use a config flag instead of a RO flag for showing Manage Storage." into nyc-mr1-dev 2016-09-23 22:19:12 +00:00
Annie Chin
2d1e4fb063 Change 'red' to 'amber' am: f980a1239c am: e1ffa85984
am: 30dbecc7bc

Change-Id: If32f29086f59c7a216e27636e91105196f58359e
2016-09-23 22:05:52 +00:00
Annie Chin
e1ffa85984 Change 'red' to 'amber'
am: f980a1239c

Change-Id: I8c55a1cc67024be79922e9f931ea8e631a790615
2016-09-23 00:21:15 +00:00
TreeHugger Robot
0ae282b26e Merge "Change 'red' to 'amber'" into nyc-mr1-dev 2016-09-23 00:11:08 +00:00
Stephen Chen
2b98ffaab8 Change Display summary to sleep timeout description.
Bug: 29579542
Fixes: 29579542
Change-Id: I4e122bd6972fde933229768cba86302eb4d3f7c6
Test: Added Robo test, manually tested
2016-09-22 13:55:32 -07:00
Annie Chin
f980a1239c Change 'red' to 'amber'
Change-Id: I36e4815165a12d33ce4aaad446acae19897be138
Fixes: 31628145
2016-09-22 10:26:06 -07:00
TreeHugger Robot
651140a448 Merge "Clean up string description for NFC disclaimer dialog." 2016-09-20 16:30:14 +00:00
Daniel Nishi
c0b33f70ed Use a config flag instead of a RO flag for showing Manage Storage.
Bug: 30455784
Test: make SettingsTests; run the instrumentation.
Change-Id: I860192c1c20fcaec2a5cbcdc085ff01dafa7351a
(cherry picked from commit 7f075a3c41)
2016-09-19 20:39:33 +00:00
Daniel Nishi
f83a21d0fc Merge "Use a config flag instead of a RO flag for showing Manage Storage." 2016-09-19 20:36:03 +00:00
Fan Zhang
2c6dbab68a Clean up string description for NFC disclaimer dialog.
Bug: 30852261
Bug: 30860218
Test: manual build
Change-Id: I7be1e5ac0bf2a044efe6820a3cf011dc32ebc14b
2016-09-19 12:17:04 -07:00
Paul Stewart
3766a2d7d3 Bad Wi-Fi: Change strings to carrier specs am: 49d703319b am: 00641d68c3 am: e089439788
am: 6e488ecf26

Change-Id: Id794f7c82c577dcd4824e3d6caab29712c7d4c9f
2016-09-17 04:00:08 +00:00
Paul Stewart
00641d68c3 Bad Wi-Fi: Change strings to carrier specs
am: 49d703319b

Change-Id: I644d183683367280b3653750f84d9d2c9ee4c5ff
2016-09-17 03:47:35 +00:00
Paul Stewart
49d703319b Bad Wi-Fi: Change strings to carrier specs
Also add a checkbox to persist the value.  However, the logic to
pass this persistence to ConnectivityService has not yet been added.

Bug: 31075769
Test: Visual inspection of dialog (upcoming)
Change-Id: I370ab07ea276b024ce4adc61e10ca085be1c5549
2016-09-16 17:51:16 -07:00
Daniel Nishi
7f075a3c41 Use a config flag instead of a RO flag for showing Manage Storage.
Bug: 30455784
Test: make SettingsTests; run the instrumentation.
Change-Id: I860192c1c20fcaec2a5cbcdc085ff01dafa7351a
2016-09-16 15:56:47 -07:00
Hugo Benichi
e590183dcc Add a "Cellular data fallback" pref. am: a317684cfc am: aabd051f50 am: d294f58361
am: 56e754b446

Change-Id: Id2c098cf8df2c8f3b1dc5a6f6aa7cb4618f85ddd
2016-09-16 16:57:11 +00:00
Hugo Benichi
aabd051f50 Add a "Cellular data fallback" pref.
am: a317684cfc

Change-Id: I902d4039aefddbe38a7caa20afede7af20d03086
2016-09-16 16:45:15 +00:00
Julia Reynolds
2dcc7a8895 Merge "Add notification channel settings." 2016-09-16 15:35:23 +00:00
Hugo Benichi
a317684cfc Add a "Cellular data fallback" pref.
Also adjust working of the "lost internet" notification.

Bug: 31075769
Change-Id: I17e18516c9bfdc32b38686191327b6d6f87aed95
2016-09-17 00:30:05 +09:00
Julia Reynolds
b5ec2d71a2 Add notification channel settings.
If a user has set a preference at an app wide level, it cannot be
undone at a channel level, but channels can be more restrictive.

Tests: changing settings for apps and channels.

Change-Id: I7907b8179ffc24d68197c917f182e63d8e1ff7a7
2016-09-15 21:46:17 -04:00
TreeHugger Robot
02f3cd3849 Merge "Prevent height change in default ringtone preferences." 2016-09-15 22:10:43 +00:00
Fan Zhang
7aae6746b1 Prevent height change in default ringtone preferences.
- Added a placeholder summary text in ringtone preferences so the height
  is reserved while we load ringtone names.

Bug: 28075406
Test: Visually inspected
Change-Id: Ia4022679fcc9d6992c3bb9439f7bfce9bb552ea1
2016-09-15 13:12:22 -07:00
Lorenzo Colitti
e143efc1ea Fix unintended modification of the NO_INTERNET dialog. am: 4753ad5902 am: 10646478f1 am: 2aa0c9396b
am: 70505bc1d6

Change-Id: I1e170d8de459c5eca5edf485c76b813b8f760c8e
2016-09-15 18:41:29 +00:00
Lorenzo Colitti
5a88e67aa5 Support displaying a dialog when Wi-Fi loses Internet access. am: 1449ecd460 am: a4aa79bb69 am: 0e92ddbc1b
am: e4d8284000

Change-Id: Ie207cae240bce6acee3211cbdb5291ffd1a0f702
2016-09-15 18:31:55 +00:00
Lorenzo Colitti
10646478f1 Fix unintended modification of the NO_INTERNET dialog.
am: 4753ad5902

Change-Id: Ib045d44acbf93ffc99d2a0545a4808ff0ad3ea58
2016-09-15 17:20:43 +00:00
Lorenzo Colitti
a4aa79bb69 Support displaying a dialog when Wi-Fi loses Internet access.
am: 1449ecd460

Change-Id: I835eeb9165e726e20c26c47fb4e20fbd6d9e3f5a
2016-09-15 16:05:53 +00:00
Lorenzo Colitti
4753ad5902 Fix unintended modification of the NO_INTERNET dialog.
Bug: 31075769
Change-Id: I655725121aed164c2e270a6fe2ffec78a87897bd
2016-09-16 00:41:50 +09:00
Lorenzo Colitti
1449ecd460 Support displaying a dialog when Wi-Fi loses Internet access.
Bug: 31075769
Change-Id: Ia0c76d80591937dc40765c437e5779f3b6dde217
2016-09-15 23:43:00 +09:00
Salvador Martinez
1ebcb92041 Changed information string about model am: d92ce3ef0c am: 878bb1e602
am: a3123c3f2f

Change-Id: I1e7a5554fef400871eb4da5c0663e4159692a80d
2016-09-15 00:32:46 +00:00
Fan Zhang
661248cf3e resolve merge conflicts of 0ee60c0 to master
Change-Id: Id371c6f3687dc35f87c4a93f032bfc5ca87d15ab
2016-09-14 14:14:14 -07:00
Salvador Martinez
878bb1e602 Changed information string about model
am: d92ce3ef0c

Change-Id: Ia6bd630c8e273eb3613dcb5c597bd89e6de17454
2016-09-14 20:38:03 +00:00
TreeHugger Robot
d1f38f302e Merge "Changed information string about model" into nyc-mr1-dev 2016-09-14 20:27:54 +00:00