Commit Graph

14339 Commits

Author SHA1 Message Date
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
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
Meng Wang
fe3749dd0b WiFiCallingSettings: show roaming preferrence
Bug: 31492826
Change-Id: I45cd8455e84802d690d074099d6a8e9c9398e157
2016-09-23 12:09:03 -07: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
2dc974a648 Merge "Use default switch preference view if gesture animations video is not available." into nyc-mr1-dev 2016-09-23 18:49:05 +00:00
Fan Zhang
aa71afe597 Use MetricsFeatureProvider for logging in Settings.
Bug: 31664539
Test: make RunSettingsRoboTests for regression
Test: adb logcat -b events | egrep "(sysui_|notification_)" for
      verifying log

Change-Id: Id944be7c4ff9911aebee481c2df485542f1318f0
2016-09-23 08:37:37 -07:00
Daniel Nishi
3981889d1d Add storage manager settings activity.
Bug: 31621740
Change-Id: I5abc8ef3f12e02488104c0b74f4826d8c4182b2b
2016-09-22 17:43:42 -07:00
Christopher Tate
d35a29884b Tell sublaunched backup settings activities about policy state am: ee564e9cfc
am: 8953a28597

Change-Id: Ia3742c49903b95737b6559f69ffe2c6d65a85e0e
2016-09-22 23:57:32 +00:00
TreeHugger Robot
c8a0395766 Merge "Use MetricsFeatureProvider for condition/suggestion/search." 2016-09-22 23:56:28 +00:00
Todd Kennedy
265f4ca379 Add remote control of Instant Apps am: 6ed0c7e8d7 am: d95430cbe6
am: 212eb25768

Change-Id: Id1321667de7ca2b400c06a61a20ba10239697531
2016-09-22 23:29:08 +00:00
Christopher Tate
8953a28597 Tell sublaunched backup settings activities about policy state
am: ee564e9cfc

Change-Id: Ia2e6482ce141ce6cc31ecd501e321b8f5454721f
2016-09-22 23:08:31 +00:00
Fan Zhang
98487f4d65 Fix NPE when trying to refreshes dnd condition.
Bug: 31685838
Test: manual, will add automated test in master.

The NPE happens when try to refresh dnd condition before the condition
object is created.

Change-Id: Idbd6898472e1ad21a2bbb3be5f0b9c24c03b5c80
2016-09-22 22:13:21 +00:00
Chris Tate
4199a0d3bd Merge "Tell sublaunched backup settings activities about policy state" into nyc-mr1-dev 2016-09-22 21:58:28 +00:00
Todd Kennedy
212eb25768 Add remote control of Instant Apps am: 6ed0c7e8d7
am: d95430cbe6

Change-Id: I3a052aeb59f608d21a3be43691128e2b7acd56a4
2016-09-22 21:58:04 +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
Fan Zhang
c93d18e29c Use MetricsFeatureProvider for condition/suggestion/search.
Bug: 31664539
Test: make RunSettingsRoboTests

This allows different metric clients to listen to these events.

Change-Id: Ib19c8099b16ff78d9aa4901278e0ff33eeefd4a8
2016-09-22 13:22:26 -07:00
Todd Kennedy
d95430cbe6 Add remote control of Instant Apps
am: 6ed0c7e8d7

Change-Id: If24fd101fbc4815f1eb3875fdb1216c7cee39b4b
2016-09-22 20:01:03 +00:00
Fan Zhang
5b9762bc09 Use MetricsFeatureProvider in storage manager fragment.
Bug: 31664539
Test: make RunSettingsRoboTests for regression
Test: adb logcat -b events | egrep "(sysui_|notification_)" for
      verifying log

Change-Id: I65743b87fdf6f010e40ca705e33e18642e0bfca3
2016-09-22 10:26:10 -07:00
TreeHugger Robot
727186bd33 Merge "Add remote control of Instant Apps" into nyc-mr1-dev 2016-09-22 16:57:14 +00:00
TreeHugger Robot
7cb1453a84 Merge "Remove delay from interactive bugreport." 2016-09-22 15:26:26 +00:00
Svetoslav Ganov
29a95b4994 Merge "Update text of WiFi toggle prompt buttons" 2016-09-22 14:56:22 +00:00
Svet Ganov
f6fbba6aca Update text of WiFi toggle prompt buttons
Change-Id: Ia9d9a44cddc72fb61b80393e61586e7a4f9801d6
2016-09-22 07:52:57 -07:00
TreeHugger Robot
397a7765a9 Merge "Log visibility change for DialogCreatable in Settings." 2016-09-22 01:34:46 +00:00
Christopher Tate
ee564e9cfc Tell sublaunched backup settings activities about policy state
Policy state is not readily observable by subsidiary UI, so we
now tell it explicitly when sublaunching it.

Bug 30126678

Change-Id: Icdd6e39874070d7337b4b0a0d5b80c52bb3e7e40
2016-09-21 17:16:17 -07:00
Fan Zhang
d65184faef Log visibility change for DialogCreatable in Settings.
Bug: 30681529
Test: adb logcat -b events | egrep "(sysui_|notification_)"
Test: make RunSettingsRoboTests
Change-Id: I51754d258ba1ddfae24323681f21cd02de4dbb4e
2016-09-21 16:30:32 -07:00
Amit Mahajan
91c60745ce Changes to make APN fields uneditable based on carrier config. am: 7c01344349 am: f3f35a9b1e
am: 69b9c2f04c

Change-Id: I0ed7c050c66594cb91907c99432b12324903934a
2016-09-21 18:52:05 +00:00
Philip P. Moltmann
4b2406f3f3 Merge "USB restriction is similar to media restriction" 2016-09-21 18:14:22 +00:00
Felipe Leme
fce3e960fd Remove delay from interactive bugreport.
The delay was useful when the interactive bugreport took an initial
screenshot, which is not the case anymore.

BUG: 30429546
Test: manual

Change-Id: I648db4e1acdea3aa89df9205148cac43880763be
2016-09-21 10:36:39 -07:00