Commit Graph

51937 Commits

Author SHA1 Message Date
Salvador Martinez
022af8ca10 Merge "Update battery stuff to use SettingsLib Estimate class" into qt-dev 2019-04-19 22:00:27 +00:00
Jonathan Scott
4316259aa0 Remove redundant (and failing) test getAvailabilityStatus_hasManagedUser_AVAILABLE
This is already covered by
getAvailabilityStatus_somePackagesAllowed_shouldBeAvailable and
getAvailabilityStatus_allPackagesAllowed_shouldBeAvailable.

Test: make RunSettingsRoboTests -j40 ROBOTEST_FILTER=CrossProfileCalendarPreferenceControllerTest
Fixes: 130896049
Change-Id: I3dbbbde693750c69e042f7c19143730cc8e313ff
2019-04-19 22:19:21 +01:00
Fan Zhang
5c9db0cb5e Fix CodeInspectionTest
Fixes: 130897640
Test: robo
Change-Id: Ic2d952e4d76bb0a2be6eab7ddc999b56656132a6
2019-04-19 14:14:51 -07:00
Lei Yu
2632f45010 Fix battery robo test
Fixes: 130896701
Test: RunSettingsRoboTests
Change-Id: Iffb7874250335db81181b23f96fe7b50a2dd0062
2019-04-19 13:41:22 -07:00
Fan Zhang
33f136fdec Merge "Fix typo" into qt-dev 2019-04-19 20:32:37 +00:00
Fan Zhang
5d705839f2 Fix typo
Bug: 130897882
Test: rebuild
Change-Id: I066b69634214cd25c4acbd173e8fe82cd73d4e97
2019-04-19 13:31:52 -07:00
Fan Zhang
ac76a480bd Merge "Add a way to suppress injected tiles for OEMs" into qt-dev 2019-04-19 20:30:24 +00:00
Fan Zhang
1830440231 Merge "Add @Ignore for all failing tests." into qt-dev 2019-04-19 20:28:47 +00:00
Fan Zhang
ef2e91913b Add @Ignore for all failing tests.
Bug: 130896210
Bug: 130896218
Bug: 130896701
Bug: 130897882
Bug: 130897305
Bug: 130897640
Bug: 130896049
Test: robo
Change-Id: I77143d504501b358c2103aa736cd2aad13ed4c5c
2019-04-19 13:23:29 -07:00
Lei Yu
142ca23949 Merge "Add SettingsPolicy to control BT feature" into qt-dev
am: 125ab50a55

Change-Id: I46f37c9a1ac92bd3e77e2a2f8ff185a72436851e
2019-04-19 13:18:15 -07:00
Lei Yu
acb617855a Remove feature flag for slice injection
Since we already use SettingsUIDeviceConfig in this case, we can remove
feature flag safely.

Fixes: 121154979
Test: Manual
Change-Id: Ibf71f1109fd506feba5a02bf6ecd804c6b7ee8d4
2019-04-19 13:13:03 -07:00
Lei Yu
125ab50a55 Merge "Add SettingsPolicy to control BT feature" into qt-dev 2019-04-19 19:44:53 +00:00
Lei Yu
5d85dfb123 Add mms preference and controller
Only visible when it is metered and mobile data off.
Also refactor one mobile data observer so we can reuse it.

Bug: 130222866
Test: RunSettingsRoboTests
Change-Id: Id218f51da3c373fad98c1a39cfadd6b0e8c46a88
2019-04-19 11:25:14 -07:00
Linda Tseng
67928018b3 Merge "Set max num of slices allowed in panel view" into qt-dev
am: ae344faf4a

Change-Id: Id9ffef1fd7a7007a143661b221dd9d82dc9858b5
2019-04-19 10:36:41 -07:00
Salvador Martinez
6a81e41c7c Update battery stuff to use SettingsLib Estimate class
This will make the upcoming consistency Cl easier to implement.

Test: Robotests still pass
Bug: 124030091
Change-Id: Ief4989e2b5f9b83b5c3b93d17f9f9fa12136f3ee
2019-04-19 17:35:23 +00:00
Yanting Yang
4e56cb2917 Add a way to suppress injected tiles for OEMs
Create a config resource for OEMs to add suppressed tile's key, then
DashboardFragment will filter related tiles out from Settings.

OEMs can use this way to suppress security patch injected tile if they
don't use Google OTA.

Fixes: 130734771
Test: visual, robotests
Change-Id: I4cab79c8672048fa543d39b2a8f38ffe338189c8
2019-04-20 01:31:07 +08:00
Beverly
34bc05ccee Allow up two lines of text on dnd restrict notif
Test: manual
Bug: 130848971
Change-Id: I1d32963f0e291d42c8b98ba8ca39eba749a26989
2019-04-19 13:26:03 -04:00
Linda Tseng
ae344faf4a Merge "Set max num of slices allowed in panel view" into qt-dev 2019-04-19 17:19:59 +00:00
Julia Reynolds
4ca871a8bd Merge "Fix broken tests" into qt-dev
am: 1115d61c0b

Change-Id: I16026c2a7306fecb02230d1403f31efd50e297e2
2019-04-19 09:51:37 -07:00
hughchen
8fcce3e5ca Merge "Remove all device from preference when BT is disabled" into qt-dev
am: e69a25caad

Change-Id: I84cb23ab372c897121ea239aa8f1f4c337f5d59d
2019-04-19 09:46:50 -07:00
TreeHugger Robot
1115d61c0b Merge "Fix broken tests" into qt-dev 2019-04-19 16:32:15 +00:00
TreeHugger Robot
e69a25caad Merge "Remove all device from preference when BT is disabled" into qt-dev 2019-04-19 16:25:26 +00:00
Yi-Ling Chuang
bff5746cd5 Merge "Fix the break of repo hook color check." into qt-dev
am: 73ab8fcb63

Change-Id: Iacab2b9a297bc17826d8eb2c17d45e9bf1d5f416
2019-04-19 08:53:31 -07:00
TreeHugger Robot
73ab8fcb63 Merge "Fix the break of repo hook color check." into qt-dev 2019-04-19 15:38:03 +00:00
Julia Reynolds
9c5a19319b Fix broken tests
Test: robo tests
Fixes: 130871450
Change-Id: If7b01147f5680392c7635f3a3b4e558aa56a633e
2019-04-19 10:03:40 -04:00
Beverly Tai
ece7d9b88d Merge "Show correct text for old zen modes" into qt-dev
am: 60eb96cd29

Change-Id: I0bec770e82f3ee0aa0a9110f9a42c8fa63ec0da0
2019-04-19 06:27:31 -07:00
Beverly Tai
60eb96cd29 Merge "Show correct text for old zen modes" into qt-dev 2019-04-19 13:17:20 +00:00
hughchen
926cb581c1 Make UI smoothly when switch device in MediaOuput slice
Put connect device method to background thread to
avoid blocking UI.

Bug: 130856371
Test: RunSettingsRoboTests
Change-Id: I7638c8cbfdfcc2225ca7a1d9214a28672b1cd7db
2019-04-19 16:17:42 +08:00
tmfang
92f864565d Merge "Remove odd spacing after the divider" into qt-dev
am: fb250122f8

Change-Id: I99f5aab97be9a32fdeec857bf2875ae05b5ac9a9
2019-04-19 00:55:49 -07:00
TreeHugger Robot
fb250122f8 Merge "Remove odd spacing after the divider" into qt-dev 2019-04-19 07:45:02 +00:00
Stanley Wang
cb525e5fad Merge "Hardware version should should support copy action" into qt-dev
am: 7f46c8714e

Change-Id: I1b397e2c12fc0b3a07d5382b70b8e4dd08ede20a
2019-04-19 00:40:46 -07:00
Stanley Wang
7f46c8714e Merge "Hardware version should should support copy action" into qt-dev 2019-04-19 07:35:46 +00:00
Arc Wang
3940c331df Add action metrics for Wi-Fi provision features
// ACTION: Share a Wi-Fi network by generating a QR code
  ACTION_SETTINGS_SHARE_WIFI_QR_CODE

  // ACTION: Connect to a Wi-Fi network by scanning a QR code
  ACTION_SETTINGS_ENROLL_WIFI_QR_CODE

  // ACTION: Share Wi-Fi hotspot by generating a QR code
  ACTION_SETTINGS_SHARE_WIFI_HOTSPOT_QR_CODE

Bug: 130521826
Test: manual
Change-Id: I4204307dd5318eb7c47e4136dc7d8700d43e4da1
2019-04-19 15:28:29 +08:00
hughchen
ef2c1a1526 Fix crash when no Bluetooth feature in Settings
- Move PreferenceGroup init method out of isAvailable() condition,
  then PreferenceGroup will not be null.
- Update getAvailabilityStatus(), since the controller now may have usb
  and dock.

Bug: 110712414
Test: make -j42 RunSettingsRoboTests
Change-Id: I4d85a42c26fb20d319e7321177b271933be3fdb0
2019-04-19 14:09:40 +08:00
Yi-Ling Chuang
db237a6ade Fix the break of repo hook color check.
Add the missing color for notification importance button

Fixes: 130850328
Test: manual
Change-Id: I6c070fad42d5fb0e6d5e3aa00d66b32708dde605
2019-04-19 14:02:35 +08:00
Jonathan Scott
d760559474 Merge "Don't show policy transparency UI for cross-profile setting." into qt-dev
am: 6e2fce6fdc

Change-Id: Ia1b28b4dce00022ff1dfd57894f8d9b18108a6ad
2019-04-18 22:46:17 -07:00
TreeHugger Robot
6e2fce6fdc Merge "Don't show policy transparency UI for cross-profile setting." into qt-dev 2019-04-19 05:24:24 +00:00
Stanley Wang
0fdf78cff6 Hardware version should should support copy action
Implement isSliceable method in HardwareRevisionPreferenceController

Fixes: 130653205
Test: manual and robotests
Change-Id: Ib872b9625c2c1984ff7b036fef5b3145c7fd8d2a
2019-04-19 11:52:32 +08:00
Cn Chen
7b2f016be8 Merge "Update fingerprint suggestion enable state when back pressed" into qt-dev
am: 9588c9003f

Change-Id: I37cb68e0df1abb76792122e12c91636ecf24644b
2019-04-18 19:08:01 -07:00
hughchen
d39fbe0f23 Remove all device from preference when BT is disabled
The issue is happened when BT is disabled then navigate to
"Connected devices". BluetoothDeviceUpdater didn't update
UI when BT is disabled. Remove all device from preference when
BT is disabled.

Bug: 80090956
Test: make -j42 RunSettingsRoboTests
Change-Id: Ia1fd8cfbcf95d712a1a702fdf101ff98186b76cd
2019-04-19 09:50:03 +08:00
Cn Chen
9588c9003f Merge "Update fingerprint suggestion enable state when back pressed" into qt-dev 2019-04-19 01:37:13 +00:00
Julia Reynolds
ef5d654d53 Merge "Updates to main notification page" into qt-dev
am: 51d16f2368

Change-Id: Ie7ca2cf7ed6ee0144820e360903345cb48c0a4b4
2019-04-18 18:11:47 -07:00
Yiwei Zhang
3e3fb21167 [automerger skipped] Merge changes from topic "GameDriver2" am: 44ab00de7f
am: 730c10c93e -s ours
am skip reason: change_id Iffbe3355b37763d4fa71b96271c1ba448fb6cdc5 with SHA1 ccc81a83cc is in history

Change-Id: I8f91ed2a8ed8a6f40b060af1f9e67599814eb357
2019-04-18 17:58:24 -07:00
Yiwei Zhang
667b4f6159 [automerger skipped] Game Driver: rename GUP to Game Driver am: 046b9a8ca2
am: eb5f8b1139 -s ours
am skip reason: change_id Ia7b9e3978ad96436a66843e6b5d1bd1e15f367c9 with SHA1 bf854fc41b is in history

Change-Id: I9f7b40977c4464ff5605c490d11deab8061095aa
2019-04-18 17:57:36 -07:00
TreeHugger Robot
51d16f2368 Merge "Updates to main notification page" into qt-dev 2019-04-19 00:57:32 +00:00
Yiwei Zhang
6a3e7b3812 [automerger skipped] Game Driver: Add footer to the dashboard am: 34986f5ba5
am: b168f16bfd -s ours
am skip reason: change_id I9788d4c64b06deb099a43e8db7eecab20a85f494 with SHA1 8aa568f1f5 is in history

Change-Id: Ibe54a2abac4b7162b82ffaf87ed3725bb92c6a66
2019-04-18 17:56:58 -07:00
Yiwei Zhang
7b7188b907 [automerger skipped] Game Driver: Add SwitchBar to control GUP feature am: b15cc090d1
am: ceb8551cd1 -s ours
am skip reason: change_id Ice9ded17c759791a3728c552f79881e2215ac081 with SHA1 51691ab0d0 is in history

Change-Id: Iab4e744884a45e8fa77517e26036e578dd066535
2019-04-18 17:56:07 -07:00
Yiwei Zhang
6047cf86a4 [automerger skipped] GUP: Add global switch for all apps am: 75548c4a33
am: c37c07ba99 -s ours
am skip reason: change_id Iebf6c5eceb323d03332169eeb0a4a0d1f9c2c493 with SHA1 15bb7944a5 is in history

Change-Id: Ib866bd29edf02141b3b9c7db6401fbcd9f2b837c
2019-04-18 17:55:27 -07:00
Yiwei Zhang
536542927e [automerger skipped] GUP: Fixed some typos and update some values am: d0bbbfeeea
am: e506f9d7f5 -s ours
am skip reason: change_id I7b1e42cd3a823a72bcd6d61b26c4954c237ff6d0 with SHA1 5735199641 is in history

Change-Id: I0642e07bed6da847b16738f7e14f7aec2cb0632a
2019-04-18 17:54:49 -07:00
Yiwei Zhang
09a45e5cd0 [automerger skipped] GUP: Display a list of Apps and dialogs am: dc62028e85
am: f0b7bf7cca -s ours
am skip reason: change_id Ide4934c0dd3901532723e77e74663e5a7b639026 with SHA1 83c030f1cd is in history

Change-Id: I34b7e2c2ef9afba6baee101ddc29ba7b9e022be0
2019-04-18 17:54:12 -07:00