Commit Graph

15016 Commits

Author SHA1 Message Date
Fan Zhang
f8c29641da Connect button click handler for bluetooth forget dialog.
Bug: 31761184
Test: manual
Change-Id: I48aac6899cb9a49bf988d3b9e6480dfd6fe0c1c2
2016-09-27 22:45:58 +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
efbe5ec924 Merge "Fixed talkback feedback for wifi menu" into nyc-mr1-dev 2016-09-27 21:52:16 +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
Tony Mantler
0b825f5db0 Catch all data set changes
Test: Toggle wifi in settings
b/31649262

Change-Id: I303206f3b977707528e98dfe227b49835edc78f2
2016-09-27 14:48:50 -07:00
Steven Ng
d654c889b8 Merge "Provide fingerprint options for SET_NEW_PASSWORD intent" 2016-09-27 21:04:21 +00:00
Matthew Fritze
62cf9efd9b Settings suggestions now describes expand and collapse in talkback
Bug: 30314874
Change-Id: I2231148594c8e878111a754e5806c20dd4e289af
2016-09-27 13:31:15 -07:00
Stephen Chen
a88733aed8 Fix cancel button behavior when setting data limit.
Bug: 28563526
Change-Id: I574c4051bb19710409ca4cf4eeffef7be1a7d0ec
Fixes: 28563526
Test: make RunSettingsRoboTests
2016-09-27 13:11:46 -07:00
fionaxu
314695d3fd Avoid run RadioInfo activity from non-system users am: b54cb2d18c am: a126537dc1
am: 2581719584

Change-Id: Ie8cd8ffcee12df54bb02f7d86e061f455651fdf8
2016-09-27 18:53:20 +00:00
fionaxu
2581719584 Avoid run RadioInfo activity from non-system users am: b54cb2d18c
am: a126537dc1

Change-Id: I36d9fb28f4d341bd4c9d271bfc853f70f9852dd0
2016-09-27 18:50:20 +00:00
fionaxu
a126537dc1 Avoid run RadioInfo activity from non-system users
am: b54cb2d18c

Change-Id: I17319eb628b19667fec7a6bba2f376322626bafc
2016-09-27 18:47:49 +00:00
Chen Xu
d76a3ed937 Merge "Avoid run RadioInfo activity from non-system users" into nyc-mr1-dev 2016-09-27 18:38:19 +00:00
Fan Zhang
488033e54d Add feature provider for dashboard.
The feature provider contains API that controls whether a new
information architecture should be used. By default it's false.

Bug: 31768091
Test: make RunSettingsRoboTests
Change-Id: I5b177be418def50d877f53dc799e42d06eba95ec
2016-09-27 11:25:27 -07:00
TreeHugger Robot
8c46585218 Merge "Avoid over logging preference changes." 2016-09-27 18:24:29 +00:00
fionaxu
b54cb2d18c Avoid run RadioInfo activity from non-system users
RadioInfo is hidden from testing menu, but it could be launched
from explicit intents for example. Add system user check to avoid
phone process crash.

Bug: 31219235
Change-Id: I5661fbe0889b1ee9d0dea6810f4a4cde2c9d9e22
2016-09-27 09:51:12 -07:00
Daniel Nishi
88110e21f6 Merge "Move private volume storage calculations into a shared lib." 2016-09-27 16:45:14 +00:00
Lei Yu
56cdee5ca9 Merge "Disable the control of draw over permission for SystemUI" 2016-09-26 23:26:33 +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
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
75e4d44f0d Move Bluetooth device "Forget" button to the left
am: aece754d77

Change-Id: I5732a476c5f6fb6753fc3d8a59b5ce9c293692b1
2016-09-26 21:52:13 +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
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
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
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
430025c4d6 Split Ambient Display settings. am: 1ad58d0abf am: f89766dbab
am: 0dfe46fe58

Change-Id: I33ffaa71c09cff7a4df496c42371519367e1772c
2016-09-24 00:35:24 +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
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
0dfe46fe58 Split Ambient Display settings. am: 1ad58d0abf
am: f89766dbab

Change-Id: If17ab5951a9b8a2a5b68a1fcc2492de8a72f0c08
2016-09-24 00:07:17 +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
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
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
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
Daniel Nishi
fee35492b8 Use a config flag instead of a RO flag for showing Manage Storage. am: c0b33f70ed
am: bfe5afc270

Change-Id: I159cb08e7ef25802562603d4f8e297ffdf8d0f30
2016-09-23 22:34:22 +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
Fan Zhang
13566f29a5 Fix crash when changing data restriction for non-app UID.
Change-Id: Ie622e8e22bade33050865fe4135534b27995d523
Fixes: 31708057
Test: make RunSettingsRoboTests
2016-09-23 15:14:18 -07: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
Android Build Merger (Role)
274d1c1a9b Merge "Tell sublaunched backup settings activities about policy state am: ee564e9cfc am: 8953a28597 am: d35a29884b" 2016-09-23 21:46:31 +00:00
Christopher Tate
629aa13533 Tell sublaunched backup settings activities about policy state am: ee564e9cfc am: 8953a28597
am: d35a29884b

Change-Id: I350bcabcef6702ae9b12b81767afc504031998ad
2016-09-23 21:45:12 +00:00
Fan Zhang
20374fd211 Add metrics for remaining dialogs in settings.
Fix: 31707295
Test: make RunSettingRoboTests
Test: verify logs
Change-Id: Icf70900ac4472195624d14e9172207a5c85dccca
2016-09-23 13:03:31 -07:00