Commit Graph

31710 Commits

Author SHA1 Message Date
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
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
Andre Eisenbach
48f1e9fbd5 Merge "Move Bluetooth device "Forget" button to the left" into nyc-mr1-dev am: 7a2af50ae3 am: 30a6a743d5
am: 00a224d630

Change-Id: Ib3bd9917d9174996a5af26fb60f0dc54d3e73be1
2016-09-26 22:06:07 +00:00
Andre Eisenbach
aa0bf8e052 Move Bluetooth device "Forget" button to the left am: aece754d77 am: 75e4d44f0d
am: ecee9e662d

Change-Id: Ibfc862406b4e67426a8686a7090d1ef1a93e7bb3
2016-09-26 22:05:52 +00:00
Andre Eisenbach
00a224d630 Merge "Move Bluetooth device "Forget" button to the left" into nyc-mr1-dev am: 7a2af50ae3
am: 30a6a743d5

Change-Id: I6fda405cdbb087cd4d20a2fa25d69171336f1b51
2016-09-26 21:55:25 +00:00
Andre Eisenbach
ecee9e662d Move Bluetooth device "Forget" button to the left am: aece754d77
am: 75e4d44f0d

Change-Id: If9211aff18dcbcd0f3cfdf47fdbb5f4042fddac6
2016-09-26 21:55:12 +00:00
Andre Eisenbach
30a6a743d5 Merge "Move Bluetooth device "Forget" button to the left" into nyc-mr1-dev
am: 7a2af50ae3

Change-Id: I4b5231d5968bc1717a6e91acc3c79f69e84c35ff
2016-09-26 21:52:14 +00:00
Andre Eisenbach
75e4d44f0d Move Bluetooth device "Forget" button to the left
am: aece754d77

Change-Id: I5732a476c5f6fb6753fc3d8a59b5ce9c293692b1
2016-09-26 21:52:13 +00:00
TreeHugger Robot
7a2af50ae3 Merge "Move Bluetooth device "Forget" button to the left" into nyc-mr1-dev 2016-09-26 21:43:47 +00: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
d2f32f6b4a Merge "Update gesture settings text." into nyc-mr1-dev am: ace4753224 am: ad0d72fee7
am: ed9fc06b50

Change-Id: I30bbcdf14ea8005894e56774e2364a8f0ec97fa1
2016-09-26 20:40:09 +00: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
Doris Ling
ed9fc06b50 Merge "Update gesture settings text." into nyc-mr1-dev am: ace4753224
am: ad0d72fee7

Change-Id: Ie07ca705d81b2c8e09db4d6498d0e28f3ab9c661
2016-09-26 20:37:38 +00:00
Doris Ling
e816be1565 Update gesture settings text. am: 8ff630966a
am: 5252165f6a

Change-Id: I5dcac554e9dd345785b3975ab7af5cab6cfde32f
2016-09-26 20:37:25 +00:00
Doris Ling
ad0d72fee7 Merge "Update gesture settings text." into nyc-mr1-dev
am: ace4753224

Change-Id: Ia0497a0d0ea026eb279246034d16b40fbc2c0902
2016-09-26 20:34:54 +00:00
Doris Ling
5252165f6a Update gesture settings text.
am: 8ff630966a

Change-Id: Ic05df8585fc113cf276f0606b680fd4f74e9a208
2016-09-26 20:34:53 +00:00
Doris Ling
ace4753224 Merge "Update gesture settings text." into nyc-mr1-dev 2016-09-26 20:27:39 +00:00
jackqdyulei
0162daa651 Disable the control of draw over permission for SystemUI
Bug: 31077838
Test: make SettingsTests && adb install -r \
${OUT}/data/app/SettingsTests/SettingsTests.apk \
&& adb shell am instrument -w  \
'com.android.settings.tests/android.support.test.runner.AndroidJUnitRunner'

Change-Id: I760590f5558f2d686ffbfe78234a8b08e13883fd
2016-09-26 13:22:04 -07: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
Bill Yi
7552fb5a17 Import translations. DO NOT MERGE
Change-Id: I8cf027c5077ed24be8d68d191a6da201df7fdd0d
Auto-generated-cl: translation import
2016-09-26 09:48:57 -07:00
Bill Yi
47ff6882fb Import translations. DO NOT MERGE
Change-Id: I4f03344d3ce65076256892ae63803239c5c47718
Auto-generated-cl: translation import
2016-09-26 09:44:05 -07:00
Bill Yi
0d07d0c79c Import translations. DO NOT MERGE
Change-Id: I69f2d26ec0a8a06fc611a68740ea9ce5184c124e
Auto-generated-cl: translation import
2016-09-26 09:35:48 -07:00
Fan Zhang
ad7023a406 Merge "Fix crash when changing data restriction for non-app UID." 2016-09-26 16:01:31 +00:00
Robin Lee
660a944128 Merge "Enable the switch in TrustedCredentialsSettings" 2016-09-26 15:54:48 +00:00
Daniel Nishi
505287caeb Merge "Add storage manager settings activity." into nyc-mr1-dev am: 798a28ace9 am: 4ee3ce5732
am: 8cf30cafff

Change-Id: If1fe711464ea3796a3c2cc3035c92ee66e437e19
2016-09-26 09:21:11 +00:00
Daniel Nishi
0c6c11ca3e Add storage manager settings activity. am: 3981889d1d am: 2382850d65
am: a55d5b6b3a

Change-Id: Ia41298ec0f4640514881c727fa8c6ae35d934458
2016-09-26 08:28:28 +00:00
Doris Ling
ff46067437 Fix build error in DisplaySettings
Add static import for android.provider.Settings.Secure.DOZE_ENABLED

Test: make pass
Bug: 31716184
Change-Id: Ia958b3089f3d52897b09072d0dfe4a472176ff89
2016-09-23 20:27:48 -07:00
Fan Zhang
2d6bf057f8 Avoid over logging preference changes.
When preference screen is created all prefence goes through
SharedPreferenceLogger once. We don't want to log it as preference
change because it's just initial display. Subsequent preference logger
calls should result in logging.

Bug: 30914916
Test: make RunSettingsRoboTests
Change-Id: Icaee9137c55555f4db7839ff0381a13ccd420190
2016-09-23 18:01:13 -07:00
Doris Ling
48b126be5c Merge "Split Ambient Display settings." into nyc-mr1-dev am: 4f8a703d51 am: f79a9b397e
am: 799388df91

Change-Id: I3368cd81b3c7badf2b1acf5eb0b293c1412b8687
2016-09-24 00:35:32 +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
Daniel Nishi
8cf30cafff Merge "Add storage manager settings activity." into nyc-mr1-dev am: 798a28ace9
am: 4ee3ce5732

Change-Id: I575b3ab0ab21cc3af4ee2533e1372bfd4c6ca0ff
2016-09-24 00:27:22 +00:00
Daniel Nishi
a55d5b6b3a Add storage manager settings activity. am: 3981889d1d
am: 2382850d65

Change-Id: Ic105308a53273c6705027d13fb2430537116a0ce
2016-09-24 00:24:59 +00:00
Daniel Nishi
4ee3ce5732 Merge "Add storage manager settings activity." into nyc-mr1-dev
am: 798a28ace9

Change-Id: If2150702a9ef06c0d4e4469fac2646dce3a259e6
2016-09-24 00:23:38 +00:00
Daniel Nishi
2382850d65 Add storage manager settings activity.
am: 3981889d1d

Change-Id: I50224492a1ed42d6aa38fce72a905e35ee672a83
2016-09-24 00:20:27 +00:00
Andre Eisenbach
aece754d77 Move Bluetooth device "Forget" button to the left
"Forget" and "OK" actions are too close together.

Bug: 31693959
Change-Id: Iee452347a53b186df7aecad5d971edcfb7645f1d
2016-09-24 00:16:21 +00:00
Daniel Nishi
798a28ace9 Merge "Add storage manager settings activity." into nyc-mr1-dev 2016-09-24 00:15:49 +00:00
Doris Ling
799388df91 Merge "Split Ambient Display settings." into nyc-mr1-dev am: 4f8a703d51
am: f79a9b397e

Change-Id: I9a5498d766c23d7d2431706feacf66a7bb1da091
2016-09-24 00:07:21 +00:00
Doris Ling
0dfe46fe58 Split Ambient Display settings. am: 1ad58d0abf
am: f89766dbab

Change-Id: If17ab5951a9b8a2a5b68a1fcc2492de8a72f0c08
2016-09-24 00:07:17 +00:00
Doris Ling
f79a9b397e Merge "Split Ambient Display settings." into nyc-mr1-dev
am: 4f8a703d51

Change-Id: I0855a17e05c387a63241bfaa5c910d4625e2e5ce
2016-09-24 00:05:19 +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
Fan Zhang
f4d937a0e0 Merge "Fix NPE when trying to refreshes dnd condition." into nyc-mr1-dev am: c5bfd5f5a8 am: 8f621c8cfa
am: d9d34f78ab

Change-Id: I0a72326065e797603e1cbc3f133250c5cafe257f
2016-09-23 23:57:19 +00:00
Fan Zhang
e40eb2457a Fix NPE when trying to refreshes dnd condition. am: 98487f4d65 am: 80c589e1f8
am: f77c940f9a

Change-Id: Ib0f089321000e100dbbf4510ebb9d5bce3b3abca
2016-09-23 23:57:03 +00:00
Fan Zhang
d9d34f78ab Merge "Fix NPE when trying to refreshes dnd condition." into nyc-mr1-dev am: c5bfd5f5a8
am: 8f621c8cfa

Change-Id: I9a05577aed82272d5040a03454289682aa5671fa
2016-09-23 23:44:49 +00:00
Fan Zhang
f77c940f9a Fix NPE when trying to refreshes dnd condition. am: 98487f4d65
am: 80c589e1f8

Change-Id: I64d75489f6e7066b2303c6e3fc3d4e6b0c8388c6
2016-09-23 23:44:36 +00:00
Fan Zhang
8f621c8cfa Merge "Fix NPE when trying to refreshes dnd condition." into nyc-mr1-dev
am: c5bfd5f5a8

Change-Id: Ie0736338105b670e827b636091ef3235ef872489
2016-09-23 23:37:49 +00:00
Fan Zhang
80c589e1f8 Fix NPE when trying to refreshes dnd condition.
am: 98487f4d65

Change-Id: I27d984f6ebb1de4832d819a843c9cdbfeeabeaf8
2016-09-23 23:37:49 +00:00
Fan Zhang
c5bfd5f5a8 Merge "Fix NPE when trying to refreshes dnd condition." into nyc-mr1-dev 2016-09-23 23:31:43 +00:00