Commit Graph

3462 Commits

Author SHA1 Message Date
TreeHugger Robot
d34b2a9697 Merge "Add SSID to Network Details page for Passpoint" 2019-03-28 22:12:33 +00:00
Salvador Martinez
70da69b0ac Merge "Update dark mode in accessiblity settings" 2019-03-28 20:56:27 +00:00
TreeHugger Robot
84a5db7e86 Merge "Update Content Capture strings." 2019-03-28 20:29:36 +00:00
Quang Luong
a2297dc1d1 Add SSID to Network Details page for Passpoint
Added SSID to Network Details page under the Advanced portion only
when the network is for Passpoint, whose network title is not the
SSID of the underlying connected AP.

Bug: 129092023
Test: atest RunSettingsRoboTests

Change-Id: I13308d46e727fc01fec7a079d8e32ab9f1763e21
2019-03-28 11:54:19 -07:00
Felipe Leme
3bfbd1c8f1 Update Content Capture strings.
Also moved it down to the bottom of the screen...

Bug: 129403630
Test: manual verification

Change-Id: Ie21701035717f43c1af9f7040aa71a8c8c91b17d
2019-03-28 10:23:32 -07:00
TreeHugger Robot
1cc5eef87f Merge "Launch correct tone picker for audio attributes" 2019-03-28 16:09:17 +00:00
Yanting Yang
7bac003389 Merge "Remove additional divider from Battery settings" 2019-03-28 08:49:43 +00:00
TreeHugger Robot
a5753643c3 Merge "Make "Advanced" show in Apps & notifications screen" 2019-03-28 07:10:30 +00:00
Yanting Yang
69b6e0af77 Remove additional divider from Battery settings
Fixes: 129351013
Test: visual
Change-Id: I586ecdfeb82104ea35842bb12a2c90c29cca70ae
2019-03-28 14:29:56 +08:00
Salvador Martinez
194abe94d0 Update dark mode in accessiblity settings
There was an entry point to dark mode that wasn't updated when the
display settings one was changed to point to a new screen. This
change makes it so that clicking dark mode in accessiblity also
opens the same screen.

Test: robotests pass
Bug: 129406772
Change-Id: I0ad830638e04e5520cdf7de6927764fa6b68a179
2019-03-27 18:29:40 -07:00
Mill Chen
14847a27eb Make "Advanced" show in Apps & notifications screen
Reducing the number of initialExpandedChildrenCount to 3 will make
everything under "Default apps" be under "Advanced".

Fixes: 129284718
Test: visual, rebuild
Change-Id: I540385c514f6e8bf005e90e9ed4a9f93a2e983d5
2019-03-27 17:39:22 -07:00
TreeHugger Robot
08dba1720e Merge "Revert "Remove advanced button from location settings"" 2019-03-28 00:38:18 +00:00
Fan Zhang
7771fa5a95 Revert "Remove advanced button from location settings"
This reverts commit c7cef5ee43.

Reason for revert: b/124059127

Change-Id: I34e788f6959b94f27b4e25f1ca925777acb9a1d0
2019-03-27 23:15:32 +00:00
Julia Reynolds
ca974ae0f4 Launch correct tone picker for audio attributes
Test: robotests
Fixes: 129353516
Change-Id: Iacbf5008f186e59377e534da747544d33a20f81f
2019-03-27 15:22:53 +00:00
TreeHugger Robot
6fae9e1a32 Merge "Add heap dump options to Developer options." 2019-03-27 12:05:16 +00:00
Kweku Adams
afd71d1689 Add heap dump options to Developer options.
1. Add a button to capture a system heap dump on demand.
2. Add a toggle to enable/disable automatic system heap dump captures.

Bug: 77490269
Test: manual
Change-Id: I12b41de82f641ae239ea8e48f0180392aca5dbe8
2019-03-26 17:10:09 -07:00
Salvador Martinez
ef1b5ceb10 Merge "Update dark theme to have new screen" 2019-03-26 22:32:15 +00:00
TreeHugger Robot
507b7bf4f8 Merge "Flip the preference for sticky battery saver" 2019-03-26 20:41:27 +00:00
Salvador Martinez
1053ec04b4 Update dark theme to have new screen
The dark theme preference should have it's own screen rather than
being a dialog. This adds some boilerplate code that will be
needed for the illustration as well as converting the current
list preference to open a new screen.

Test: robotests
Bug: 128686189
Change-Id: I5b62276353c0d39ad2ad00d21d2280e76cceb09b
2019-03-26 13:17:11 -07:00
TreeHugger Robot
dec5aff009 Merge "Add Live Caption preference to Accessibility page." 2019-03-26 19:25:39 +00:00
TreeHugger Robot
73f570febc Merge "Update search keywords for some pages." 2019-03-26 18:49:32 +00:00
Salvador Martinez
d12d722099 Flip the preference for sticky battery saver
Instead of toggled on being to keep battery saver on, the UX
writers would like to make toggled on be turn battery saver off
automatically. Also turns the controller into a
TogglePreferenceController, because those exist apparently.

Test: visual inspection, tests pass
Fixes: 126938839
Change-Id: Iffac536d0b1956d4534ca1b5fa5c6440c4d3a3ff
2019-03-26 11:29:18 -07:00
Anthony Tripaldi
308d833d16 Add Live Caption preference to Accessibility page.
This reverts commit fa27a88292.

The original was only a temporary revert in order to remove from initial beta release for dogfooding before the feature was ready.

Reason for revert: b/123652115

Bug:123652115
Test: manual
Change-Id: Id647c2992e30289d72a4f6144829a997677be3fa
2019-03-26 13:09:50 -04:00
Fan Zhang
bb679d4817 Update search keywords for some pages.
Fixes: 129016511
Test: reindex
Change-Id: I73f7094168b00ecd92958c1760fde0dbd634bef9
2019-03-26 09:57:37 -07:00
TreeHugger Robot
d9ab124d81 Merge "Add a different Wi-Fi Easy Connect entry point" 2019-03-26 15:12:24 +00:00
Arc Wang
8a9ccfd8d9 Add a different Wi-Fi Easy Connect entry point
To separate it further from Wi-Fi sharing as it was
causing some confusion.

Bug: 129031195
Test: manual test
Change-Id: Ia55e3ed91e92c3ec36ae6a9401897c5c960762da
2019-03-26 09:55:38 +08:00
TreeHugger Robot
4d33ead8ef Merge "Updated privacy settings to launch custom content capture settings when available." 2019-03-22 18:35:58 +00:00
Felipe Leme
fcf98251f2 Updated privacy settings to launch custom content capture settings when available.
Test: manual verification
Test: atest EnableContentCapturePreferenceControllerTest \
      CtsContentTestCases:android.content.cts.AvailableIntentsTest#testRequestEnableContentCaptureIntent
Test: adb shell am start-activity -a android.settings.REQUEST_ENABLE_CONTENT_CAPTURE

Fixes: 119264902

Change-Id: I2a030c31d966d40feb6ba449e4bbc9ef8cf0565b
2019-03-22 08:10:48 -07:00
Fan Zhang
e3cee29472 Merge "Remove reference to R.id.summary_container." 2019-03-21 23:41:58 +00:00
TreeHugger Robot
3f7cbc7c54 Merge "Update string for app storage settings" 2019-03-21 23:41:15 +00:00
Fan Zhang
92fad094b0 Update string for app storage settings
Fixes: 128347544
Test: visual
Change-Id: I4dd803a04301b39d7f2de8f61eb7d193f8164d0b
2019-03-21 12:45:26 -07:00
Mady Mellor
e57cd2478e Merge "Update bubbles strings in settings" 2019-03-21 17:29:27 +00:00
Julia Reynolds
f7b793f808 Merge "Add settings for individual NAS components" 2019-03-21 13:09:00 +00:00
Mady Mellor
dde0b7717e Update bubbles strings in settings
Test: manual - check that the strings are right
Change-Id: I9aeb80abb868ff73bbb9b1481d8f3793a6b451e5
2019-03-20 18:59:39 -07:00
Julia Reynolds
05eff1c6a7 Add settings for individual NAS components
Test: robotest
Bug: 127825514
Change-Id: I4359bb548d10b39652bb8c263fa685d595d7a9ea
2019-03-20 09:26:46 -04:00
TreeHugger Robot
cd9ef2abbd Merge "Remove wake from Settings gestures.xml" 2019-03-19 18:20:38 +00:00
Beverly
19f8d244e6 Remove wake from Settings gestures.xml
Test: manual
Bug: 127955764
Change-Id: Icea129fe5a7b1dbb0bc5ff799c99907a278396df
2019-03-19 10:56:07 -04:00
Fan Zhang
5bb2a87b7f Create a page to manage dnd permission for individual app
- Change the original ZenAccessPage to
  - Remove the inline switch
  - Make the preference click target go into the new detail page
  - Some formatting/style change.

- Create a new detail page for zen access.
  - Exit if app didn't declare this permission
  - Preset the switch toggle to their current permission grant state
  - Move the warning dialog logic from ZenAccessSettings to here.

- Move some common functionality into ZenAccessController, a static
  helper class

Bug: 128547723
Test: robotest
Change-Id: I1ebb32396869d07ff4283b300bd716506298c9b5
2019-03-18 14:42:31 -07:00
TreeHugger Robot
50bdbe92ab Merge "Move WakeGestureScreenGestureSettings" 2019-03-18 17:20:01 +00:00
TreeHugger Robot
e7668660d5 Merge "Move a few classes around for easier ownership control" 2019-03-18 12:06:30 +00:00
TreeHugger Robot
47e8fbbcee Merge "Choose a pref key less likely to conflict" 2019-03-16 02:54:25 +00:00
Fan Zhang
d3b848713d Remove reference to R.id.summary_container.
It's deleted in another CL.

Fixes: 123317946
Test: visual/robo
Change-Id: I7b461ba68e8b56946e4effc26850776881236ec7
2019-03-15 15:41:47 -07:00
Fan Zhang
5db43105e8 Move a few classes around for easier ownership control
Bug: 128547723
Test: rebuild
Change-Id: I8f0dcf30fee44eaae60e10510620fb518cded68f
2019-03-15 15:32:33 -07:00
TreeHugger Robot
4c42163093 Merge "Update design of channel pages." 2019-03-15 21:47:51 +00:00
TreeHugger Robot
6f822c1049 Merge "Fix for affordances to add a mobile subscription" 2019-03-15 21:47:32 +00:00
Julia Reynolds
99644e2098 Choose a pref key less likely to conflict
Test: manual
Fixes: 127498706
Change-Id: I254cef727df137abac5810f19e63449a7f582876
2019-03-15 18:17:35 +00:00
Antony Sargent
10353cd8b6 Fix for affordances to add a mobile subscription
This changes the behavior for when we show an affordance to add a mobile
subscription via the eSIM manager (if eSIM is supported).  On the
Network & internet page, the behavior we now want for the "Mobile
network" pref has several possibilities as detailed below.

No existing subscriptions:
- Summary is "Add a network"
- Tapping on pref leads to the add subscription flow

One existing subscription:
- Summary is the name of the subscription (usually the carrier name)
- Tapping left-hand side of the pref leads to mobile network details
- A "+" button is shown on right of pref, and tapping "+" leads to the
  add subscription flow

2 or more existing subscriptions:
- Summary is "<count> SIMs"
- Tapping left-hand side of the pref leads to a new page with the list
  of subscriptions
- A "+" button is shown on right of pref, and tapping "+" leads to the
  add subscription flow

The existing code controlling the "Mobile network" pref (in
MobileNetworkSummaryController.java) already had behavior similar to
this, but needed to be updated to no longer rely on whether we're in
DSDS mode.

Also, the page with the list of subscriptions that you can go to in the
"2 or more existing subscriptions" case mentioned above has an "Add
more" link at the bottom which leads to the same eSIM manager flow, but
it was always showing this link even if the device doesn't support
eSIM. This CL also fixes that problem.

Bug: 127870567
Test: make RunSettingsRoboTests
Change-Id: Ie8cca47ac81f8992fa6ecf1940bdfed411fd333b
2019-03-15 10:27:21 -07:00
Julia Reynolds
4253be9191 Update design of channel pages.
Test: atest
Bug: 127796543
Change-Id: I4fabeafe2602c341554959303e67bc69c8817a8f
2019-03-15 10:21:24 -04:00
Beverly
575a856709 Move WakeGestureScreenGestureSettings
Test: robosettings tests
Bug: 127955764
Change-Id: I058a960d6e51afd6e92b9a035993f6bfd91025b8
2019-03-15 09:34:05 -04:00
Cosmo Hsieh
135d90ac9b Merge "[Passpointv2] Implement DataUsage header for Wi-Fi detail fragment" 2019-03-14 10:10:54 +00:00