Commit Graph

2640 Commits

Author SHA1 Message Date
Maggie Wang
21f9b47884 Merge "Add an Advanced button to location settings" into pi-dev am: ff912223b7
am: b5f4aa911a

Change-Id: Ifc4523cb11346ae14f58940ca003946ed0efa055
2018-03-21 01:11:13 +00:00
Pavel Grafov
78fc22ff6b Merge "Remove "don't show" option from work notifications settings" into pi-dev am: be3e5caa7f
am: dfd74e5b1a

Change-Id: I9ad8d5fd5a0a03d1cc0031c95de142e7a9b6b3e6
2018-03-20 22:10:33 +00:00
Maggie Wang
ff912223b7 Merge "Add an Advanced button to location settings" into pi-dev 2018-03-20 20:44:23 +00:00
Maggie
6f2741d50b Add an Advanced button to location settings
Add an Advanced button under "recent location requests" and "app level
permissions" in location settings.
Location footer should still be visible under Advanced button.

Bug: 70350519
Test: Manual
Change-Id: I5db32e911ed6527048c625f691f5476eb77751b3
2018-03-20 10:57:37 -07:00
Pavel Grafov
72137f3aad Remove "don't show" option from work notifications settings
Option to not show notifications is still available for
device-wide locks screen notification settings.

Also s/On lock screen/When work profile is locked/ for work
notifications since it applies not only to lock screen but to
notification shade as well.

Bug: 64829587
Test: make RunSettingsRoboTests
Change-Id: Ie3ec461f4c8887a5a49cd92b5350ea683f701027
2018-03-20 16:39:29 +00:00
Lei Yu
cbbe4a337f Merge "Add summary for battery manager preference" into pi-dev am: 06d5188a71
am: fca54d8788

Change-Id: I1bcdf59eefafeca6b63689a8bb68add13f11d962
2018-03-20 08:33:21 +00:00
HJ ChangLiao
e1c2c8d9b3 Merge "Remove ops preference from specific app" into pi-dev am: ac20e2d511
am: cbd6c33774

Change-Id: I1eac43a72e96820091f320711c4dd0c162612832
2018-03-20 08:04:11 +00:00
xshu
da432d904a Updating special Settings Wi-Fi strings am: e0a6d1640a
am: ba2acc4ba0

Change-Id: Ica95727f87e7bc4d310f6daf52927b6b749bf313
2018-03-20 07:32:49 +00:00
Hall Liu
e3b9578658 Merge "Split "Mobile Network Type" indication in Settings" into pi-dev am: 8837f992bb
am: 0738a917df

Change-Id: I5ee44871c48d6052b1d62f4cbd8dd1ed76bd74e6
2018-03-20 07:12:38 +00:00
TreeHugger Robot
06d5188a71 Merge "Add summary for battery manager preference" into pi-dev 2018-03-20 04:36:48 +00:00
TreeHugger Robot
ac20e2d511 Merge "Remove ops preference from specific app" into pi-dev 2018-03-20 02:35:21 +00:00
Lei Yu
6c16840ff5 Add summary for battery manager preference
Show different summary based on whether it is on and there is restricted
apps.

Also move method to get restricted app list to BatteryTipUtils since it
is used in 2 places.

Bug: 73018395
Test: RunSettingsRoboTests
Change-Id: Ib2306e0fd1f520fde6d1403ce9c527c241d36005
2018-03-19 19:27:36 -07:00
xshu
e0a6d1640a Updating special Settings Wi-Fi strings
Bug: 74356729
Test: compile

Manually inspected the affected UI pages

Change-Id: I6905dce8f3d6c4acbddedccbf0401b9ef6bba53b
2018-03-19 17:09:16 -07:00
Hall Liu
8837f992bb Merge "Split "Mobile Network Type" indication in Settings" into pi-dev 2018-03-19 21:15:26 +00:00
Julia Reynolds
fefa6653b4 Merge "Add placeholder on DND settings screen" into pi-dev am: b0f251597c
am: 37f00d489a

Change-Id: I1b6a4e662300fb3401eea86aca88789a1bc31f62
2018-03-17 14:58:00 +00:00
Julia Reynolds
b0f251597c Merge "Add placeholder on DND settings screen" into pi-dev 2018-03-17 14:28:41 +00:00
Jerry Zhang
191e31fec9 Merge "Update USB settings screen" into pi-dev am: d85ef28585
am: 00bf936304

Change-Id: Ic6359ec20c413812d0492497a2c8b07a00b95f03
2018-03-16 23:25:10 +00:00
Hall Liu
6f4b185331 Split "Mobile Network Type" indication in Settings
Display data and voice network type for clarity

Change-Id: I26e52dcc564dfd96e36e45d94d6e69225ea4a80f
Fixes: 70938010
Test: manual, unit
2018-03-16 22:53:12 +00:00
Jerry Zhang
d85ef28585 Merge "Update USB settings screen" into pi-dev 2018-03-16 22:40:38 +00:00
Julia Reynolds
f36efcdfd6 Merge "Link to dnd settings from notification settings" into pi-dev am: 5d419a2dcf
am: c34fe741d1

Change-Id: I6b63ce4c08a648745f471fc6e39f0d79469e0cc1
2018-03-16 20:32:40 +00:00
Julia Reynolds
5d419a2dcf Merge "Link to dnd settings from notification settings" into pi-dev 2018-03-16 19:43:38 +00:00
Lei Yu
0bd76013f2 Merge "update strings in battery settings(Round 1)" into pi-dev am: cf0cae785f
am: dd4a47f940

Change-Id: I4b733b279865ece8c64b0536a8ae6000a6d98752
2018-03-16 19:13:22 +00:00
Julia Reynolds
c35d9b613e Link to dnd settings from notification settings
Test: make -j20 RunSettingsRoboTests
Change-Id: Idf70155134b2e78bd410468497cabe8faf1557ce
Fixes: 74319354
2018-03-16 13:14:03 -04:00
Lei Yu
206f406aeb update strings in battery settings(Round 1)
This cl updates the strings in several battery
settings pages and dialogs, also add footers
for battery manager page and restrict app page.

Update the strings in battery settings except:
1. Summary for smart battery toggle
2. "Full charge lasts"
3. Restrict dialog
4. App info page

Bug: 73018395
Test: RunSettingsRoboTests
Change-Id: I4955cc7c19b5f1df18f21cfb47e8859c997e19d1
2018-03-15 17:23:59 -07:00
Jerry Zhang
55d10dff53 Update USB settings screen
Screen now handles data role and power
role switching as separate categories.

Change the UsbBackend api to use predefined
constants. Split out data and power direction
changes into separate functions.

Add tests for new controllers and new backend
functionality.

Bug: 72829348
Test: passes
Change-Id: I28b96cf49463fa4f3a4b6be41c57d5841731fbd6
2018-03-15 17:18:41 -07:00
Julia Reynolds
9aac3ce9ed Add placeholder on DND settings screen
Bug: 74321426
Test: make -j20 RunSettingsRoboTests
Change-Id: Icb7d21e342af85d1ad83e89efa2fe9a1d41e710b
2018-03-15 09:34:03 -04:00
HJ ChangLiao
e8ffc29f7f Remove ops preference from specific app
Remve below preference in Settings>Apps>Specific app:
Display over apps screen> App display on top permisson
Usage access> App usage preferences
Modify system settings> App modify system settings permission

Change-Id: Ib4128e563b0e2739c16136694ce24182f0da6626
Fixes: 72737995
Test: Manual test
2018-03-15 06:27:26 +00:00
Katsiaryna Naliuka
30464e1b8c Merge "Made ordering in the Sound settings page more sparse to allow injecting tiles in arbitrary positions." into pi-dev am: 2ae02f56fb
am: 40dc8a5249

Change-Id: If81076d1b18240a23e1f2f41d3f0cc8b2ac3652c
2018-03-14 01:25:13 +00:00
Katsiaryna Naliuka
64a89bc9a7 Made ordering in the Sound settings page more sparse to allow injecting
tiles in arbitrary positions.

Also increased a number of settings that are not hidden behind the
overflow to accommodate 1 more line.

Bug: 64065365

Test: manual
Change-Id: I3ac8dfd4802967e02bebc6558a5b96d68cb2ea34
2018-03-13 21:02:55 +01:00
TreeHugger Robot
d5fb944de2 Merge "Don't log sim-pin" 2018-03-13 02:50:42 +00:00
Beverly Tai
060f852332 Merge "Adding zen duration preference" into pi-dev am: e652a039af
am: 797d541953

Change-Id: I294a0691c708066d22d2b569ff7678ae9bb47848
2018-03-13 01:12:33 +00:00
Beverly Tai
e652a039af Merge "Adding zen duration preference" into pi-dev 2018-03-12 21:39:18 +00:00
TreeHugger Robot
5906621ea4 Merge "Bluetooth: Enable AVDTP Delay reports by default." into pi-dev 2018-03-12 21:08:59 +00:00
Ben Lin
aedf00c4f8 Merge "Introduce boolean flag to show/hide Reset Options." into pi-dev 2018-03-12 17:52:47 +00:00
Beverly
3f3c8acce7 Adding zen duration preference
Test: make ROBOTEST_FILTER=ZenModeDurationPreferenceControllerTest RunSettingsRoboTests -j40
Bug: 73741459
Change-Id: I55a75897045ef059dc872bf6403a62f46cedc417
2018-03-12 13:46:32 -04:00
TreeHugger Robot
decea2055d Merge "Declare official platform slice" into pi-dev 2018-03-12 03:17:19 +00:00
Ben Lin
a53001dd13 Introduce boolean flag to show/hide Reset Options.
This adds one new flag:
config_show_reset_dashboard

Which when set to false, will hide Reset Options from System settings.

Bug: 74127210
Test: Updated robotests
Change-Id: I42b14a0abde575f5c4e51985125e8543716d206a
(cherry picked from commit bd180a62ec)
2018-03-10 00:26:15 +00:00
Ajay Panicker
ff6a90994f Bluetooth: Enable AVDTP Delay reports by default.
Bug: 32755225
Test: See that delay reports are enabled when connecting to device
Change-Id: Icba9be6fc8ba455d37df39d283e36129f6acb536
(cherry picked from commit a8cf0b9371)
2018-03-09 21:21:45 +00:00
Matthew Fritze
a4a3dfffa2 Declare official platform slice
Create the notion of an official platform slice.
This includes:
- Adding a second authority to the provider
- tagging slices in xml with a platform slice flag
- Including authority in the getUri method

Bug:73359139
Test: robotests
Change-Id: I5382be138a262dbc5a8324c34aab131c5d0d5516
Merged-In: I581ee6dfcdf935f452a15e89e5d055e375ff1877
2018-03-09 18:04:06 +00:00
Ajay Panicker
a8cf0b9371 Bluetooth: Enable AVDTP Delay reports by default.
Bug: 32755225
Test: See that delay reports are enabled when connecting to device
Change-Id: Icba9be6fc8ba455d37df39d283e36129f6acb536
2018-03-09 17:59:26 +00:00
Julia Reynolds
7ba6604850 Merge "Show new visual effects options in dnd settings" into pi-dev am: e056b2ebc9
am: 45e8898f7e

Change-Id: I380430deac85016196bfcc4f9f469c9b49c3fef8
2018-03-09 17:04:54 +00:00
Pengquan Meng
a39613c596 Don't log sim-pin
This change the sim pin's preference to not persistent, hence the
SharedPreferenceLogger will never log the pin to log info.

Test: manual
Bug: 72750056
Change-Id: I75be85a7819a71a5aa54e84de6754e1957e3ce2e
2018-03-08 19:44:43 -08:00
TreeHugger Robot
9e74de7efc Merge "Declare official platform slice" 2018-03-09 03:41:51 +00:00
Julia Reynolds
d640a97ce8 Show new visual effects options in dnd settings
Bug: 74075050
Test: make -j20 RunSettingsRoboTests
Change-Id: Ia629007d1c80b657aaf756d0f6d2edfd89a7f6b4
2018-03-08 16:42:35 -05:00
Matthew Fritze
fd185baca5 Declare official platform slice
Create the notion of an official platform slice.
This includes:
- Adding a second authority to the provider
- tagging slices in xml with a platform slice flag
- Including authority in the getUri method

Bug:73359139
Test: robotests
Change-Id: I581ee6dfcdf935f452a15e89e5d055e375ff1877
2018-03-08 13:32:52 -08:00
TreeHugger Robot
47d646e4ff Merge "Introduce boolean flag to show/hide Reset Options." 2018-03-08 21:04:09 +00:00
Ben Lin
bd180a62ec Introduce boolean flag to show/hide Reset Options.
This adds one new flag:
config_show_reset_dashboard

Which when set to false, will hide Reset Options from System settings.

Bug: 74127210
Test: Updated robotests
Change-Id: I42b14a0abde575f5c4e51985125e8543716d206a
2018-03-08 10:44:48 -08:00
jackqdyulei
4ef021ee90 Merge "Make "Add device" as restricted preference." into pi-dev am: e03bb88c09
am: b65ae02db2

Change-Id: I256f92fc14b5c630bfbde737b1c8bf641de36fd3
2018-03-08 03:23:20 +00:00
Fan Zhang
6f8ac904bf Merge "Move Auto sync data prefs from user to account screen" into pi-dev am: 799c2545c0
am: 29f7e7f13c

Change-Id: Ie84c7b50abb0ab9338d852342f61c35bfeb6dccc
2018-03-08 03:10:10 +00:00
TreeHugger Robot
e03bb88c09 Merge "Make "Add device" as restricted preference." into pi-dev 2018-03-08 02:58:25 +00:00