Commit Graph

7349 Commits

Author SHA1 Message Date
Daniel Solomon
6f8934bf3a Merge "Hide display white balance setting depending on color mode" 2019-01-15 19:29:16 +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
ec18560911 Merge "Implement WifiNetworkListFragment - Part 2" 2019-01-15 15:41:09 +00:00
Johnson Lu
e910c7af60 Merge "Implement WifiNetworkListFragment" 2019-01-15 15:40:54 +00:00
Johnson Lu
98bc9e5384 Implement WifiNetworkListFragment - Part 2
Uses connected access point to start DPP in Configurator-Initiator role directly.

Bug: 118794978
Test: RunSettingsRoboTests
Change-Id: Ie2d5661fdef3588bb597d4a7e4dfe5f981737c84
2019-01-15 13:27:47 +08: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
Raff Tsai
f7e1a25ee6 Merge "Fix crash for UiBlockerController" 2019-01-15 04:01:38 +00:00
jackqdyulei
a5f1b5c629 Fix crash for UiBlockerController
1. Don't create UiBlockerController if there is no related controller
2. Don't update visibility if UiBlockerController is null
3. Use findPreference() from DashboardFragment, which already has null
check.

Change-Id: Iee24c64317fb9d5a1cf2076d25728af485d390c5
Fixes: 122807414
Fixes: 122805831
Test: RunSettingsRoboTests
2019-01-15 03:58:14 +00:00
Santiago Etchebehere
44ad7fc002 Merge "Add developer settings for theme overlays." 2019-01-15 03:24:17 +00:00
TreeHugger Robot
90f75b2f3f Merge "Move edit icon from header to action bar" 2019-01-15 02:16:59 +00:00
TreeHugger Robot
873b04d43d Merge "Use role for App info default SMS shortcut." 2019-01-15 00:47:40 +00: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
TreeHugger Robot
05a39bc4ba Merge "Add metric for Tap & Pay Foreground Setting" 2019-01-15 00:09:33 +00:00
Hai Zhang
ac5a639aeb Use role for App info default SMS shortcut.
This change makes the default SMS shortcut in App info launch the new
default app UI based on roles, since we've migrated default SMS
mechanism.

Bug: 110557011
Test: atest DefaultAppShortcutPreferenceControllerBaseTest && atest DefaultSmsShortcutPreferenceControllerTest
Change-Id: I074e41433fe912309082f1e9c54bf74200297dd1
2019-01-14 14:10:34 -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
Julia Reynolds
84db3da958 Merge "Update appearance of channel preferences" 2019-01-14 21:06:29 +00:00
Ajay Panicker
fc4d53c24a Add Filtering for snoop logs based on L2CAP and RFCOMM Channels (3/4)
* Change btsnoop logging into disabled, filtered, and full modes
* When ro.isdebuggable is 1, filtered logging is enabled by default
* Otherwise, disabled by default
* When legacy mode is enabled, translate it to full and reset legacy
  property to empty

Bug: 112970672
Bug: 67669544
Test: See that the snoop file always exists but is filtered when
snooplogs are disabled and unfiltered when enabled. Unit tests.
Change-Id: Icec8c4f2f01138b8858765f6f1c1318e1f005135
2019-01-14 12:45:32 -08:00
Fan Zhang
072ffe5b9c Merge "Revert "Disable failing test to unblock presubmit"" 2019-01-14 19:57:13 +00:00
Fan Zhang
966d842be0 Revert "Disable failing test to unblock presubmit"
This reverts commit 69cc84d22c.

Bug: 122824614
Test: robotests
Reason for revert: b/122824614

Change-Id: I5730b6c0a5e6d26fd54a8a1eff8d1eab3144a8ee
2019-01-14 19:56:24 +00:00
Fan Zhang
bb28fb4660 Merge changes I90fa8649,Idd9725dd
* changes:
  Disable failing test to unblock presubmit
  Add live caption preference in accessibility page.
2019-01-14 19:53:26 +00:00
Fan Zhang
69cc84d22c Disable failing test to unblock presubmit
Bug: 122824614
Test: rerun robotest
Change-Id: I90fa864906675c6d072d25b27b6a61f59933d324
2019-01-14 11:50:24 -08:00
Julia Reynolds
e88f7ab7a7 Update appearance of channel preferences
Test: atest
Change-Id: Ie58e7a27601ee23b1cd2caf990cc5c10006c0162
Fixes: 122671854
2019-01-14 13:04:22 -05:00
Kiyoung Kim
1a3425ed2a Schematize Display system properties
Properties accessed across partitions are now schematized and will
become APIs to make explicit interfaces among partitions.

Bug: 117924132
Test: m -j
Change-Id: I83b40ddfcde32d8d03fae73f5c252013933c466c
2019-01-13 17:10:24 +09:00
Kiyoung Kim
95ca4bf581 Merge "Schematize ADB system properties" 2019-01-13 08:05:42 +00: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
hjchangliao
c37973f073 Move edit icon from header to action bar
Move edit icon in bluetooth detail page,
from header back to action bar.

Change-Id: I6afd7c611fe4db8c6c27921b5da316d8a1a000db
Fixes: 76206922
Test: make RunSettingsRoboTests
2019-01-12 07:36:32 +08:00
Ruchi Kandoi
aea07dc98a Add metric for Tap & Pay Foreground Setting
Bug: 111458041
Test: atest NfcForegroundPreferenceControllerTest
Change-Id: I090c223b65858535cc70e61820dc5d077de99a40
2019-01-11 15:21:16 -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
jackqdyulei
6da5e32bd8 Add CardPreference in battery settings page
This is MatrialCardView styled preference that only support
icon, title and summary.

Bug: 119618813
Test: RunSettingsRoboTests
Change-Id: Ibbf9eb2a01c8ee0579e1553ead6e43e96531c92a
2019-01-11 11:00:03 -08:00
Svetoslav Ganov
8b9529e533 Merge "Update tests due to new platform API intruducing ambibuity" 2019-01-11 18:48:55 +00: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
Kiyoung Kim
37bd3482ca Schematize ADB system properties
Properties accessed across partitions are now schematized and will
become APIs to make explicit interfaces among partitions.

Bug: 117924132
Test: m -j
Change-Id: Iec37f5f35b1452afdf7b15e9f31c4b4726127065
2019-01-11 12:39:13 +09:00
Naina Nalluri
45f4f49ace Merge "Revert "Developer option to enable CBRS"" 2019-01-11 03:14:35 +00:00
Console Chen
25dc1f1f0d Merge "Adding the ability to customize the subtitle on an unavailable slice" 2019-01-11 03:07:50 +00:00
Svet Ganov
27b0668c91 Update tests due to new platform API intruducing ambibuity
Tests: atest MockLocationAppPreferenceControllerTest
       atest RestrictAppPreferenceControllerTest

bug:111061782

Change-Id: I287d40d5b1e5a6fff6a85cb5ba6a8b87096da9d4
2019-01-10 18:48:46 -08:00
Yiwei Zhang
bcc94e40e5 Merge "GUP: Fixed some typos and update some values" 2019-01-11 02:40:30 +00:00
Yiwei Zhang
5735199641 GUP: Fixed some typos and update some values
Bug: 119221883
Test: make RunSettingsRoboTests
Change-Id: I7b1e42cd3a823a72bcd6d61b26c4954c237ff6d0
2019-01-11 08:13:39 +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
TreeHugger Robot
1bbe4241ee Merge "Fix "Play media to" popup close issue when screen rotate" 2019-01-10 19:43:49 +00: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
James Lu
7ce23b578a Fix "Play media to" popup close issue when screen rotate
- Avoid calling getListPreference() in onDialogClose() everytime.
  Due to exception in onDialogClose(). Move preference declaration into if condition.
- Add test case for crash case.

Bug: 119744621
Test: make -j50 RunSettingsRoboTests ROBOTEST_FILTER=UpdatableListPreferenceDialogFragmentTest
Change-Id: Ia20b8289a5863136ea74e02e32b537f6967474e8
2019-01-10 17:09:46 +08:00
Pasty Chang
c4e447ce71 Merge "Change to show two footer buttons in SUW lockscreen page." 2019-01-10 07:16:02 +00:00
Stanley Wang
eb735f2909 Merge "Implement the Copyable interface to ImeiInfoPreferenceController" 2019-01-10 07:01:33 +00:00
Pasty Chang
43bb34e15c Merge "Rename prefix from suw to sud" 2019-01-10 06:56:20 +00:00
Arc Wang
b5f945994e Merge changes I6abbfc5d,I1ce1b014
* changes:
  Fix Wi-Fi DPP activity crash after configuration change.
  Implement Wi-Fi DPP flow
2019-01-10 06:04:09 +00:00
Sunny Shao
9f08f6c7b5 Merge "Launch view account page when it's available." 2019-01-10 04:55:11 +00:00
Arc Wang
dcf3f2906f Fix Wi-Fi DPP activity crash after configuration change.
Both QR code and Wi-Fi network data may not come from intent.
After configuration change, the null data will crash the activity.

Bug: 120243131
Test: atest WifiDppConfiguratorActivityTest
Change-Id: I6abbfc5d25431789e8ac9f6ee9dfaaef15b2de33
2019-01-10 12:22:56 +08:00
Arc Wang
a7d51370c8 Implement Wi-Fi DPP flow
1. Wi-Fi DPP hanshake fail UI
2. Show Wi-Fi DPP QR code information field on WifiDppAddDeviceFragment if it's available.
3. Click 'Choose Different Network' button will show WifiDppChooseSavedWifiNetworkFragment
4. After QR code scanner scans success, WifiDppConfiguratorActivity caches WifiQrCode instead
   of just a QR code string

Bug: 122429170
Test: manual test
Change-Id: I1ce1b014ff86903b5a7a8f3575cc98eb1079583c
2019-01-10 12:09:58 +08:00