Commit Graph

8702 Commits

Author SHA1 Message Date
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
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
12712a8358 Merge "Fix broken tests" into qt-dev am: 1115d61c0b
am: 4ca871a8bd

Change-Id: Id1599af2007f7127b65ac6d1ddb4f6bd62899976
2019-04-19 10:02:48 -07:00
hughchen
6e148d336d Merge "Remove all device from preference when BT is disabled" into qt-dev am: e69a25caad
am: 8fcce3e5ca

Change-Id: I26ce994197c1b85e23f00f81227f359e4bd4ed29
2019-04-19 10:01:12 -07: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
Julia Reynolds
9c5a19319b Fix broken tests
Test: robo tests
Fixes: 130871450
Change-Id: If7b01147f5680392c7635f3a3b4e558aa56a633e
2019-04-19 10:03:40 -04:00
Stanley Wang
11e6eb756b Merge "Hardware version should should support copy action" into qt-dev am: 7f46c8714e
am: cb525e5fad

Change-Id: I10bcce4a113cc1ba759e9da33606f24073491302
2019-04-19 00:45:47 -07: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
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
Jonathan Scott
a589d0aa6e Merge "Don't show policy transparency UI for cross-profile setting." into qt-dev am: 6e2fce6fdc
am: d760559474

Change-Id: I3fd6add4c45d5617b10512ba5c602f9d5f772945
2019-04-18 23:00:34 -07: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
7e379b70c6 Merge "Update fingerprint suggestion enable state when back pressed" into qt-dev am: 9588c9003f
am: 7b2f016be8

Change-Id: I3df778d24dfb31ae0eaab29e0e9597c05f675759
2019-04-18 19:34:35 -07: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
Yiwei Zhang
730c10c93e Merge changes from topic "GameDriver2"
am: 44ab00de7f

Change-Id: I4ffdd92469ccd67907a169bead5d1473a5a6777c
2019-04-18 17:40:42 -07:00
Yiwei Zhang
eb5f8b1139 Game Driver: rename GUP to Game Driver
am: 046b9a8ca2

Change-Id: I58e48a8893ad5cac202bf9bf2afd3db120ae23cc
2019-04-18 17:39:38 -07:00
Yiwei Zhang
b168f16bfd Game Driver: Add footer to the dashboard
am: 34986f5ba5

Change-Id: Id046f661896bdd068519fb96524e6ab455229025
2019-04-18 17:38:20 -07:00
Yiwei Zhang
ceb8551cd1 Game Driver: Add SwitchBar to control GUP feature
am: b15cc090d1

Change-Id: Icd1b593294426db2d8ffda3cad926fffb32cd4d5
2019-04-18 17:36:46 -07:00
Yiwei Zhang
c37c07ba99 GUP: Add global switch for all apps
am: 75548c4a33

Change-Id: I12d7ff1e9959eb3e5e88c9f9e9f8bab2d88f7e95
2019-04-18 17:35:09 -07:00
Yiwei Zhang
e506f9d7f5 GUP: Fixed some typos and update some values
am: d0bbbfeeea

Change-Id: I0d23b978d62c2c0eaced50c878e874844d7862db
2019-04-18 17:33:07 -07:00
Yiwei Zhang
f0b7bf7cca GUP: Display a list of Apps and dialogs
am: dc62028e85

Change-Id: I3d13512fda47d401444f665636d83dff2fb23882
2019-04-18 17:30:54 -07:00
Yiwei Zhang
329a5e938e GUP: Add stub UI
am: a2754c515b

Change-Id: Ia9d6d44d106b7dc3b54218921039e9ee03967533
2019-04-18 17:28:33 -07:00
Treehugger Robot
44ab00de7f Merge changes from topic "GameDriver2"
* changes:
  Game Driver: Fix EnableForAllApps switch and test
  Game Driver: rename GUP to Game Driver
  Game Driver: Add footer to the dashboard
  Game Driver: Add SwitchBar to control GUP feature
  GUP: Add global switch for all apps
  GUP: Fixed some typos and update some values
  GUP: Display a list of Apps and dialogs
  GUP: Add stub UI
2019-04-19 00:06:39 +00:00
Julia Reynolds
c9f56810ea Merge "Non-blockable whitelist should only control importance fields" into qt-dev am: 8bfc277f7d
am: 6d0c551706

Change-Id: Id178579d07e371bd78e4790b3fd28fca1e1f66ad
2019-04-18 16:21:49 -07:00
Mill Chen
451f1a2697 Merge "Revert "Add robotest modules for Settings"" into qt-dev am: d0dd6d8885
am: 97afe10730

Change-Id: I12f58d61303ecd5e7306675d36171c146b36f20a
2019-04-18 16:13:30 -07:00
Julia Reynolds
2306305d47 Merge "Redesign channel listing and channel page" into qt-dev am: 9496bce441
am: 1053e4a798

Change-Id: I863f230c5fc9e4b03a5a88b4d52b3395ea07f20c
2019-04-18 15:38:55 -07:00
Julia Reynolds
6d0c551706 Merge "Non-blockable whitelist should only control importance fields" into qt-dev
am: 8bfc277f7d

Change-Id: If5499e8bdb1c60f7e70c5393ee6428cbb08f608d
2019-04-18 15:20:17 -07:00
Mill Chen
97afe10730 Merge "Revert "Add robotest modules for Settings"" into qt-dev
am: d0dd6d8885

Change-Id: I92acba8f32bc1bbb8ae8dff21637c9b0f0db02bd
2019-04-18 15:18:51 -07:00
Julia Reynolds
1053e4a798 Merge "Redesign channel listing and channel page" into qt-dev
am: 9496bce441

Change-Id: I7616f9164b8178f31423e0c048700391a667f192
2019-04-18 15:05:37 -07:00
TreeHugger Robot
8bfc277f7d Merge "Non-blockable whitelist should only control importance fields" into qt-dev 2019-04-18 21:56:02 +00:00
lindatseng
2c501d917a Merge "Fix regression of wrong min value on night display slice" into qt-dev am: 93aee0d99d
am: 35b17ed655

Change-Id: I50f210cdfec286335e9363cf7fcc235ecf8e9816
2019-04-18 14:52:46 -07:00
Mill Chen
d0dd6d8885 Merge "Revert "Add robotest modules for Settings"" into qt-dev 2019-04-18 21:49:51 +00:00
Mill Chen
db9f07850f Revert "Add robotest modules for Settings"
This reverts commit ce09f58360.

Reason for revert: will build break on run_host_tests

Bug: 130774632

Change-Id: Id2ee52ffb0689059da9cbdadd5bdae5b6a04a589
2019-04-18 21:48:42 +00:00
Julia Reynolds
9496bce441 Merge "Redesign channel listing and channel page" into qt-dev 2019-04-18 21:34:36 +00:00
Amin Shaikh
d279f02f1d Merge "Add Settings keywords for Styles & Wallpaper." into qt-dev am: 670bf45b50
am: 01c3f8105f

Change-Id: Ia7eb2a0b5a26045215012d216cf93403e70a5db7
2019-04-18 13:40:08 -07:00
Yiwei Zhang
9e758e1409 Game Driver: Fix EnableForAllApps switch and test
Bug: 123707483
Bug: 119221883
Test: Build, flash, boot and make RunSettingsRoboTests
Change-Id: Iffbe3355b37763d4fa71b96271c1ba448fb6cdc5
Merged-In: Iffbe3355b37763d4fa71b96271c1ba448fb6cdc5
2019-04-18 13:40:06 -07:00
Yiwei Zhang
046b9a8ca2 Game Driver: rename GUP to Game Driver
Bug: 119221883
Test: make RunSettingsRoboTests
Change-Id: Ia7b9e3978ad96436a66843e6b5d1bd1e15f367c9
Merged-In: Ia7b9e3978ad96436a66843e6b5d1bd1e15f367c9
2019-04-18 13:40:04 -07:00
Yiwei Zhang
34986f5ba5 Game Driver: Add footer to the dashboard
This change adds a footer to the current dashboard to show some
descriptions when the whole module is turned off.

Bug: 119221883
Test: make RunSettingsRoboTests
Change-Id: I9788d4c64b06deb099a43e8db7eecab20a85f494
Merged-In: I9788d4c64b06deb099a43e8db7eecab20a85f494
2019-04-18 13:39:17 -07:00
Yiwei Zhang
b15cc090d1 Game Driver: Add SwitchBar to control GUP feature
Uncheck the global switch will hide the preference controllers and force
all apps to use system graphics driver. This change also add a content
observer to notify all the preference controllers of settings global
changes.

Bug: 119221883
Test: make RunSettingsRoboTests
Change-Id: Ice9ded17c759791a3728c552f79881e2215ac081
Merged-In: Ice9ded17c759791a3728c552f79881e2215ac081
2019-04-18 13:39:08 -07:00
Yiwei Zhang
75548c4a33 GUP: Add global switch for all apps
Bug: 119221883
Test: make RunSettingsRoboTests
Change-Id: Iebf6c5eceb323d03332169eeb0a4a0d1f9c2c493
Merged-In: Iebf6c5eceb323d03332169eeb0a4a0d1f9c2c493
2019-04-18 13:38:01 -07:00
Yiwei Zhang
d0bbbfeeea GUP: Fixed some typos and update some values
Bug: 119221883
Test: make RunSettingsRoboTests
Change-Id: I7b1e42cd3a823a72bcd6d61b26c4954c237ff6d0
Merged-In: I7b1e42cd3a823a72bcd6d61b26c4954c237ff6d0
2019-04-18 13:37:56 -07:00