Commit Graph

3298 Commits

Author SHA1 Message Date
TreeHugger Robot
d8200e80af Merge "Gives unvailable slice of Night Light a customized subtitle" 2019-01-19 08:12:55 +00:00
TreeHugger Robot
ac73d4e721 Merge "Add data usage header to mobile network details page" 2019-01-19 07:17:33 +00:00
TreeHugger Robot
304b54b2a3 Merge "Use new interface for setAppEntity" 2019-01-19 05:57:25 +00:00
Console Chen
50a6b24222 Gives unvailable slice of Night Light a customized subtitle
When a slice depends on some setting and the setting is off,
it shows "depends on another setting".
Base on the new introduced attribute on ag/5843828 , assigns
customized subtitle for showing the unavailabe slice when the
Night Light is off.

Change-Id: I5c3530281fac4ef63caf2d3ac8e2be872d704bcb
Fixes: 118399193
Test: Manual
2019-01-19 12:35:32 +08:00
Antony Sargent
625787b391 Add data usage header to mobile network details page
As a part of the work for subscriptions UI improvements, we want to show
data usage information at the top of the mobile network details page,
and those details need to be specific to the particular subscription
we're showing details for, even if that SIM isn't the current default
one. This is useful for seeing data usage across your SIMs in dual-SIM
devices.

This CL adapts our already existing DataUsageSummaryPreferenceController
class so that if can be used on any fragment instead of just the
DataUsageSummary one, and changes it to take an explicit subscription
id instead of assuming it should use the default one.

Bug: 122670283
Test: make RunSettingsRoboTests
Change-Id: I41e307b0f32580c73b08adec7cabf01c96d7e835
2019-01-17 21:50:27 -08:00
tmfang
d62afd3700 Create a permission bar chart in Privacy page
Using PermissionControllerManager to get the apps
usage of different permission groups.

And then we visualize the result with bar chart.

Test: visual, robotest
Fixes: 116628158
Change-Id: I0442a04c35d74f715418fac0279bb8f36f6d64df
2019-01-17 21:29:25 +08:00
Lucas Dupin
dbaa5459b8 Merge "Tap gesture settings" 2019-01-17 02:38:09 +00:00
Yiwei Zhang
b53ea0a3ad Merge "GUP: Add global switch for all apps" 2019-01-17 02:02:44 +00:00
Yiwei Zhang
15bb7944a5 GUP: Add global switch for all apps
Bug: 119221883
Test: make RunSettingsRoboTests
Change-Id: Iebf6c5eceb323d03332169eeb0a4a0d1f9c2c493
2019-01-17 09:56:46 +08:00
TreeHugger Robot
7332afe700 Merge "Settings for skip and silence gestures" 2019-01-17 01:35:30 +00:00
TreeHugger Robot
569b6a41ef Merge "New approach to override timeout max value" 2019-01-16 23:58:47 +00:00
TreeHugger Robot
f2c30062d3 Merge "Add the Data Saver preference to the Network & internet page" 2019-01-16 23:52:42 +00:00
Fan Zhang
69e4302d40 New approach to override timeout max value
- Revert "Allow OEM customizing max screen timeout value."
- Use separate timeout list for screen timeout and lock timeout.

This reverts commit f57f490aa6.

Fixes: 113346164
Test: manual

Change-Id: Ifbb054c232c47455ae82e3ed817f9c1e96f694cf
2019-01-16 13:59:10 -08:00
Beverly
d5428a5cd4 Settings for skip and silence gestures
Test: make RunSettingsRoboTests
Bug: 118388808
Change-Id: Ic906b42476283d245b423ef8842b6818cf7893a5
2019-01-16 15:37:47 -05:00
Lucas Dupin
97b8aae933 Tap gesture settings
Tap setting is similar to double tap, it will wake-up the phone
when invoked. This setting page allows for configuration since both
gestures aren't mutually exclusive.

Change-Id: Ia62a1fafcc108e3c0b14613cb30224eae7b35f6a
Fixes: 121198822
Test: make RunSettingsRoboTests
2019-01-16 11:41:44 -08:00
TreeHugger Robot
a96d56c83a Merge changes I9cae479a,Ie642d780
* changes:
  Remove the multi-SIM bottom nav in network and internet v2 mode
  Add page listing multiple mobile networks
2019-01-16 09:11:17 +00:00
tmfang
3bb1439894 Use new interface for setAppEntity
The interface was changed in SettingsLib,
so we also need to update the usage for setAppEntity.

Test: visual, robotest
Change-Id: I89644c4a7d6aac9cb9a8784b1f91656c8d7d6d26
Bug: 121271387
2019-01-16 16:02:23 +08:00
Antony Sargent
f4ee4ef3bf Add page listing multiple mobile networks
When a device supports simultaneous connection to multiple mobile
networks, we want the "Mobile network" entry on the Network & internet
page to list the number of active SIMs and when clicked, go to a page
that lists them all.

Bug: 116349402
Test: make RunSettingsRoboTests
Change-Id: Ie642d7801cda07dcbbe74d42c234db6605566be4
2019-01-15 21:57:39 -08:00
Lei Yu
12c327a295 Merge changes I3ee2313c,Ibbf9eb2a
* changes:
  Remove divider line for battery card preference
  Add CardPreference in battery settings page
2019-01-15 21:45:42 +00:00
Antony Sargent
6f01ecf546 Add the Data Saver preference to the Network & internet page
We're promoting this to be in the top-level Network & internet page
(from being somewhat buried down in the Data usage page).

Bug: 116349402
Test: visual
Change-Id: If6e18ebb678e9a01c22ccdf58751801a887a3f62
2019-01-15 12:44:36 -08:00
Kevin Chyn
028755f05e Merge "Add face settings video" 2019-01-15 19:50:44 +00:00
Sunil Ravi
00020f6605 Merge "WiFi: Add Tx and rx link speed in network details" 2019-01-15 18:43:58 +00:00
Johnson Lu
e910c7af60 Merge "Implement WifiNetworkListFragment" 2019-01-15 15:40:54 +00:00
Johnson Lu
0adba0aa1b Implement WifiNetworkListFragment
1.Scan valid access points for DPP configurator by using WifiTracker.
2.Allow user to add a new network for DPP configurator.

Bug: 118794978
Test: RunSettingsRoboTests
Change-Id: I36504d28dec7d2c9091aa6c35ebe2495045681f7
2019-01-15 13:27:47 +08:00
Kevin Chyn
51fe2e9c12 Add face settings video
Test: make -j56 RunSettingsRoboTests
Bug: 120991336

Change-Id: I13bc0114d37b97e7d61cafa6df04f2bcab893e81
2019-01-14 17:02:28 -08:00
Sunil Ravi
39d372e676 WiFi: Add Tx and rx link speed in network details
current "link speed" in UI is renamed to "Transmit link speed".
Also Added Receive link speed in network details.

Bug: 120497598
Test: Connected to AP and verified the Rx link speed in Network details.

Change-Id: I01cf7362a27ad78ddfaef68efae4d07cbd14fc55
2019-01-14 16:31:01 -08:00
Amin Shaikh
6f8048b0e3 Add developer settings for theme overlays.
- Extracted a OverlayCategoryPreferenceController from EmulateDisplayCutoutCategoryPreferenceController
- Add 3 developer options for toggling categories of android theme customization

Change-Id: I36fcebca6d8a6f109833a2bbca984c31e643e912
Fixes: 122308197
Test: m RunSettingsRoboTests; manually toggling settings
2019-01-14 13:36:31 -08:00
jackqdyulei
56726ca04c Remove divider line for battery card preference
Use CardPreference directly here instead of preference category
Also clean up code and test a little bit.

Bug: 119618813
Test: RunSettingsRoboTests
Change-Id: I3ee2313c10e6e2e34609137f3dcb0391104377d5
2019-01-11 15:55:33 -08:00
Fan Zhang
d64901494f Add live caption preference in accessibility page.
Change-Id: Idd9725ddbbcf658325b1f04b07a0ed9cfa6c2682
Fixes: 121373754
Test: robotests
2019-01-11 15:15:12 -08:00
Lei Yu
aa8de12e8d Merge "Add UiBlocker for DashboardFragment" 2019-01-11 18:17:56 +00:00
Alexey Kuzmin
233f345239 Merge "Split ring and notification vibration settings" 2019-01-11 13:51:16 +00:00
Kevin Chyn
f0a0180b3f Merge "Update Settings to match new mocks" 2019-01-11 06:14:47 +00:00
Kevin Chyn
15128cf2e2 Update Settings to match new mocks
Fixes: 122119972

Test: layout looks good
Change-Id: I259f7e706a6be18edc0e595ff6c3fdccf41b1178
2019-01-10 19:09:25 -08:00
jackqdyulei
22904a05b7 Add UiBlocker for DashboardFragment
If DashboardFragment detects blocker controllers, it won't display
until:
1. All blocking controllers finish bg works.
2. Timeout

This CL adds UiBlockerController to control this behavior and
BlockingSlicePreferenceController as an example.

Bug: 120803703
Test: atest SettingsUnitTests
Change-Id: I66fc194776d46ee49b3ec7685f3167834e673ba2
2019-01-10 14:25:43 -08:00
Naina Nalluri
06e95d4fff Revert "Developer option to enable CBRS"
This setting is being moved. Not needed
in Developer options anymore.

Bug: 122658022
Test: make a build and check Developer options

This reverts commit 6398841434.

Change-Id: I53c6f5d2ec8f7c844886fdf3d32be2ec06f2b0d1
2019-01-10 10:23:33 -08:00
Alexey Kuzmin
3c51e824eb Split ring and notification vibration settings
Synchronize settings between sound and accessibility menus

Bug: 116172311
Test: See accessibility vibration settings - ring and notification
settings sould be separate. Try changing vibration settings in sound and
accessibility menus - the settings should stay in sync.

Change-Id: I515a7188cdf5a26a229ac8f08c6fcfe98e2f91a0
2019-01-10 14:22:49 +00:00
Stanley Wang
76ab6e9a99 Implement the Copyable interface to ImeiInfoPreferenceController
Copy the IMEI to clipboard for Copyable.

Change-Id: I3e13bfad8158e4cb4f9fda854661341d4c334e46
Fixes: 73769888
Test: manual and robotests
2019-01-10 04:00:20 +00:00
Yiwei Zhang
a9f902b9c2 Merge "GUP: Display a list of Apps and dialogs" 2019-01-10 00:33:39 +00:00
Fan Zhang
f57f490aa6 Allow OEM customizing max screen timeout value.
Side fix - update string for select timezone.

Change-Id: Id61128b7dfcc27da8ed07225af3b6bec4e93b512
Fixes: 113346164
Fixes: 121986474
Test: robotest
2019-01-09 11:19:48 -08:00
Yiwei Zhang
83c030f1cd GUP: Display a list of Apps and dialogs
1) Add preference controller for gup dashboard and add list preferences
for each entry of the apps
2) Add gup dashboard page to search index
3) Add comprehensive tests for GupPreferenceController

Bug: 119221883
Test: make RunSettingsRoboTests
Change-Id: Ide4934c0dd3901532723e77e74663e5a7b639026
2019-01-10 02:39:08 +08:00
tmfang
bb42ce2608 Implement an "Advance" button on Privacy page.
- Also rearrange the order for "show password".

Test: visual
Fixes: 122556325

Change-Id: Iac15baa83a2ba863ad75c0a309a0e4c6deaa522e
2019-01-09 15:05:56 +08:00
TreeHugger Robot
d8b3fd3869 Merge "GUP: Add stub UI" 2019-01-05 02:26:04 +00:00
Yiwei Zhang
c81a03b60e GUP: Add stub UI
Bug: 119221883
Test: make RunSettingsRoboTests ROBOTEST_FILTER=GupDashboardTest

Change-Id: I1f7cc66790e1d1e1de5113e28a055ec5d1679013
2019-01-05 05:55:39 +08:00
Beverly Tai
5585d5e9d7 Merge "Prevent ringing gesture uses master switch" 2019-01-04 18:36:56 +00:00
TreeHugger Robot
fea78b800c Merge "Rename updatable graphics driver to Game Update Package." 2019-01-03 23:06:35 +00:00
Peiyong Lin
e70d103266 Rename updatable graphics driver to Game Update Package.
We have rebranded this project to Game Update Package, and GUP for short.

BUG: 119221883
Test: Build, flash and boot. Verify by going to developer options.
Change-Id: Ibc0814b6cd1e9bee991624c925456bc330fd93c6
2019-01-03 11:19:01 -08:00
Beverly
8b4d3c3f0c Prevent ringing gesture uses master switch
Test: make ROBOTEST_FILTER=PreventRingingGesturePreferenceControllerTest RunSettingsRoboTests
Test: make ROBOTEST_FILTER=PreventRingingSwitchPreferenceControllerTest RunSettingsRoboTests
Change-Id: Iaf356ccd3623e67c39810955093fc353ae0d10a0
Fixes: 119787033
2019-01-03 12:56:13 -05:00
Christine Franks
0057e45e6f Merge "Add display white balance setting" 2019-01-03 16:25:28 +00:00
TreeHugger Robot
19ce37648a Merge "Add custom dnd pages for each dnd auto rule" 2018-12-21 21:16:38 +00:00
Christine Franks
a226307b17 Add display white balance setting
Bug: 111215474
Test: make RunSettingsRoboTests -j100
Change-Id: Icf31ff820008740312ad811d0eda72fd3fb90a63
2018-12-21 09:16:01 -08:00