Commit Graph

49587 Commits

Author SHA1 Message Date
jackqdyulei
35209f6e6c Update height of SliceView
So it can display 6 items at most, not 4 items

Bug: 120803703
Test: Manual
Change-Id: Id34398903d0f81bebee3e02c024d21ad2e68578f
2019-01-11 10:55:59 -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
Anton Hansson
9a7786b3e1 Move Settings app to /product
Since this app is frequently customized by OEMs, it doesn't
fit in the mainline /system image right now. Move it to
/product.

Bug: 110072687
Test: make
Change-Id: Iee5940125af3f2a8543ecb3a68d7fba737acd77d
Merged-In: Iee5940125af3f2a8543ecb3a68d7fba737acd77d
(cherry picked from commit f109282c8e)
2019-01-11 16:41:54 +00:00
Julia Reynolds
08ebca3804 Fix NPE
Test: manual
Change-Id: Ie9fe536f28d05953519a9fd477c5eaa3923be991
Fixes: 122685915
2019-01-11 09:17:27 -05: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
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
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
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
cosmohsieh
1e2e6140cf Change intent filter string of NetworkRequestDialogActivity
Bug: 117399926
Test: atest NetworkRequestDialogActivityTest
Change-Id: I204b528e4b920c052fbd6626caf2f36e7d80914e
2019-01-11 10:34:50 +08: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
Salvador Martinez
0c388c5f4e Merge "Polish some behaviors of the battery saver schedule screen" 2019-01-10 22:58:55 +00: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
3137429192 Merge "Update disable app warning text" 2019-01-10 20:50:45 +00:00
Hai Shalom
b5c286a4a4 [WPA3] Rename allowedGroupMgmtCiphers to allowedGroupManagementCiphers
Following API Council review:
Rename allowedGroupMgmtCiphers to allowedGroupManagementCiphers in all instances
in order to be consistend with existing members.

Bug: 122616519
Test: atest com.android.server.wifi
Change-Id: I42496a0c9fa1034beffd9b05eeafd2f0a75eb1a8
2019-01-10 12:42:46 -08:00
TreeHugger Robot
32d8a32ac0 Merge "Change summary of privacy page" 2019-01-10 20:15:46 +00:00
TreeHugger Robot
1bbe4241ee Merge "Fix "Play media to" popup close issue when screen rotate" 2019-01-10 19:43:49 +00:00
Salvador Martinez
cd365b6533 Polish some behaviors of the battery saver schedule screen
This CL removes the line that was showing between the radio
buttons and the seek bar. Additionally it makes it so the seekbar
updates continuously as a user moves it and fixes a visual bug
where it would show 5% regardless of what the user had set it to
when exiting then re-entering the screen.

Test: visual
Change-Id: Icdb9cafe2bdda03d94230d1c8538f4c322b050e9
Fixes: 121388626
Fixes: 121211075
2019-01-10 11:25:48 -08:00
Fan Zhang
1d6918dc51 Update disable app warning text
Change-Id: Iaf4f88c3d5e4ba7b58164ece953947af396f26d4
Fixes: 122609554
Test: visual
2019-01-10 10:48:25 -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
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
Arc Wang
e5d530348c Fix BB due to CL submit timing problem.
Change style naming from Suw to Sud.

Bug: 120805516
Test: NA
Change-Id: Ieac16e5d28cc0e0232774651f0affec37a026888
2019-01-10 09:02:41 +00: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
tmfang
0e421958aa Change summary of privacy page
Test: visual
Change-Id: I29cc98c8eca619b7883c28317d0e7b4de5fea944
Fixes: 122368436
2019-01-10 13:50:03 +08: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
TreeHugger Robot
da947e902e Merge "Add summary for role-based default apps preference." 2019-01-10 04:00:25 +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
Kevin Chyn
b8a7e95de2 Merge "Persist token across activity lifecycle" 2019-01-10 03:19:42 +00:00
TreeHugger Robot
be555eddcd Merge changes I2d087f34,Ia2b91315
* changes:
  Filter out unimportant battery tips from slice card.
  Revert "Remove battery saver condition."
2019-01-10 02:31:06 +00:00
Arc Wang
7a14f706e1 Merge "Add more Wi-Fi DPP UI features." 2019-01-10 02:07:31 +00:00
Sunny Shao
7aa9fdd75c Launch view account page when it's available.
- Add to launch the new Contextual Landing Page when user clicks the avatar
  icon and check the matching intent activity exist.
- Use the serialized intent and keeps in config.xml.
- Remove the getAccountSettingsDeeplinkIntent in the AccountFeatureProvider
  which never use again.

Change-Id: I50396af67eb04034572f8c885b4d9aef48a67e9d
Fixes: 122486552
Test: robotest
2019-01-10 09:33:21 +08:00
Yiwei Zhang
a9f902b9c2 Merge "GUP: Display a list of Apps and dialogs" 2019-01-10 00:33:39 +00:00
Fan Zhang
75c143cba9 Filter out unimportant battery tips from slice card.
Change-Id: I2d087f345e44a7dc643715f67c9f516f5541e05e
Fixes: 121115306
Test: robotests
2019-01-09 16:30:45 -08:00
Fan Zhang
0896fa3bee Revert "Remove battery saver condition."
This reverts commit 44b28f4a2b.
Bug: 121115306
Test: robotests

Reason for revert: Change of design

Change-Id: Ia2b9131595d582fd8300367f729fde2b3de81b6e
2019-01-09 15:23:02 -08:00
Hai Zhang
d07b049de1 Add summary for role-based default apps preference.
This change adds summary for role-based default apps preference, based
on what we have now for default apps.

Bug: 110557011
Test: atest RolesPreferenceControllerTest
Change-Id: Ic3dd84dc7ca687ea1de63a856ac3fcf679e1bda9
2019-01-09 14:56:03 -08:00
Kevin Chyn
5652550c84 Persist token across activity lifecycle
Test: token is persisted

Bug: 122372584
Change-Id: Id3221d1a06c48779c743a685a49a70edff6e912c
2019-01-09 14:53:21 -08:00
Quang Luong
d3ba94b332 Added autoscroll to top when clicking on OSU entry
Bug: 118705403
Test: manual, build and click on OSU entry
Change-Id: I78c69e49afc577140b819f2a4e949440a81d63c6
2019-01-09 13:49:55 -08:00
Quang Luong
7f94b17280 Added support for OSU Provider provisioning action on click
Added a call to AccessPoint.startOsuProvisioning() to
onPreferenceTreeClick to open up an OSU provider flow when the user
clicks on an AccessPointPreference pertaining to an OSU provider
AccessPoint.

Bug: 118705403
Test: manual, build and tap on the OSU provider AP.
Change-Id: I3c321c2a6d2336a0cc92a30ae051146d2fc05fb7
2019-01-09 13:49:55 -08: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