Commit Graph

51934 Commits

Author SHA1 Message Date
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
Alex Salo
4eeacd5e14 Merge "Add correct animation" into qt-dev
am: 7ad8c7bc2f

Change-Id: I5560dce9ebcce1c853fdcea32922c7645bd789ea
2019-04-18 13:39:57 -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
Yiwei Zhang
dc62028e85 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
Merged-In: Ide4934c0dd3901532723e77e74663e5a7b639026
2019-04-18 13:37:44 -07:00
TreeHugger Robot
7ad8c7bc2f Merge "Add correct animation" into qt-dev 2019-04-18 20:26:17 +00:00
Alex Salo
18b3385d5f Merge "Finalize the adaptive sleep icon" into qt-dev am: 8ca49b5764
am: fe0d647917

Change-Id: I79cbd94575afe6a950da6ad1a258369e39042503
2019-04-18 13:25:48 -07:00
lindatseng
35b17ed655 Merge "Fix regression of wrong min value on night display slice" into qt-dev
am: 93aee0d99d

Change-Id: I153d69e5cc07ab5a2aec7972150a80f706ccdb87
2019-04-18 13:24:12 -07:00
Maurice Lam
b857e83e75 Merge "Make fingerprint illustrations single color" into qt-dev
am: f63bdb8b6b

Change-Id: I3c03d6fbfb71e815840729425c0f1946fdc9cb76
2019-04-18 13:16:52 -07:00
TreeHugger Robot
93aee0d99d Merge "Fix regression of wrong min value on night display slice" into qt-dev 2019-04-18 19:44:43 +00:00
TreeHugger Robot
f63bdb8b6b Merge "Make fingerprint illustrations single color" into qt-dev 2019-04-18 19:38:34 +00:00
Amin Shaikh
01c3f8105f Merge "Add Settings keywords for Styles & Wallpaper." into qt-dev
am: 670bf45b50

Change-Id: I4a5e50cf64660601bc8864be4c8fcf04f5ae1c83
2019-04-18 12:32:55 -07:00
Alex Salo
fe0d647917 Merge "Finalize the adaptive sleep icon" into qt-dev
am: 8ca49b5764

Change-Id: Ic741170c9ddb56e1fdf21a89d7b3fb627be7b8ef
2019-04-18 12:23:50 -07:00
Julia Reynolds
73c647513b Non-blockable whitelist should only control importance fields
Sounds, etc. should still be modifiable

Test: robotests
Fixes: 130086523
Change-Id: I1a95a73b299bb3afd169b249a3dabae3583a448a
2019-04-18 18:58:12 +00:00
Julia Reynolds
5c097c6d3c Redesign channel listing and channel page
Test: atest
Bug: 127796543
Fixes: 129452112
Fixes: 129453207
Change-Id: I1d520c9e35860303235b7ffbb18a76cbc4f4b8bc
2019-04-18 18:51:23 +00:00
Julia Reynolds
e51128f151 Updates to main notification page
String updates, images, reordering

Test: manual
Bug: 123899489
Change-Id: Ib7658e427c4868d954dd4cce3779588baaf5a02e
2019-04-18 14:46:55 -04:00
Fan Zhang
87695a5d87 Merge "Move "Build Number" slice to a different controller." into qt-dev am: 95073738ea
am: 06321b5568

Change-Id: Ib1c3248883edb692f36a75ead269abc7598e4941
2019-04-18 11:44:11 -07:00
TreeHugger Robot
670bf45b50 Merge "Add Settings keywords for Styles & Wallpaper." into qt-dev 2019-04-18 18:43:35 +00:00
TreeHugger Robot
8ca49b5764 Merge "Finalize the adaptive sleep icon" into qt-dev 2019-04-18 18:42:46 +00:00
Fan Zhang
06321b5568 Merge "Move "Build Number" slice to a different controller." into qt-dev
am: 95073738ea

Change-Id: Ia40218af84ded88e80e422c6f7551f5b9315febb
2019-04-18 11:34:10 -07:00
Lei Yu
15899e8b0e Add SettingsPolicy to control BT feature
Fixes: 130302238
Test: RunSettingsRoboTests
Change-Id: I7e1bf55c476f8e4d3dec7a7dfc0e8d44e5bd53ae
2019-04-18 11:31:05 -07:00
TreeHugger Robot
95073738ea Merge "Move "Build Number" slice to a different controller." into qt-dev 2019-04-18 18:16:19 +00:00
lindatseng
55f66a9177 Fix regression of wrong min value on night display slice
The min value of NightDisplayIntensityPreferenceController
should always be 0 (which is the old value we used before
ag/7062353). The range is cacluated from the relative value
to MinimumColorTemperature, which means the min value should
always be 0.

Test: atest NightDisplayIntensityPreferenceControllerTest
Fixes:130758028
Change-Id: Ica75672dda6a9ee0c6013f1c903611263b7d133f
2019-04-18 11:11:12 -07:00
Matthew Fritze
134728abf9 Merge "Prevent bad apps from getting Setting Slices" into qt-dev am: 7f9a86d869
am: 83eeb1f8d8

Change-Id: I79cc4dceffaa03c76d4af64c085fbc61cdfdf1d1
2019-04-18 11:04:13 -07:00
Matthew Fritze
83eeb1f8d8 Merge "Prevent bad apps from getting Setting Slices" into qt-dev
am: 7f9a86d869

Change-Id: I915a1ed62d0f92cfb3be0c9cea4aeac416328936
2019-04-18 10:53:51 -07:00
TreeHugger Robot
7f9a86d869 Merge "Prevent bad apps from getting Setting Slices" into qt-dev 2019-04-18 17:38:28 +00:00
Amin Shaikh
87ef55ea90 Add Settings keywords for Styles & Wallpaper.
Reusing existing strings since this is coming in after string freeze.
TODO: create a new keyword string for this preference.

Fixes: 130759285
Test: m RunSettingsRoboTests and searching keywords on device
Change-Id: Ice1bc34b381302745cb55056377cc94ea74e8d50
2019-04-18 13:29:15 -04:00
Sunny Shao
c92708647b Merge "Let NGA item display above advanced item in the App & Notifications" into qt-dev am: 57da877dde
am: d1d9cc59b0

Change-Id: Ifb1d3a21a30a6d08e5f3b94fa9cb38b7d616ec24
2019-04-18 10:19:43 -07:00
Sunny Shao
3a1b207a39 Merge "Remove the duplicated search item" into qt-dev am: 1282390768
am: 2fea81c628

Change-Id: I697d1f406f51db9dd35e2cfff966150e43d5fbc0
2019-04-18 10:18:50 -07:00
cosmohsieh
bfcff77f70 Merge "[Network Connection] Show full SSID on list item" into qt-dev am: 6e115e4fda
am: a33aadd214

Change-Id: I240e211aac33c64e37bcc8dbcf466143f517663d
2019-04-18 10:17:55 -07:00
pastychang
dc7afc9f0c Set description textview to fixed id am: f8409db196
am: 19b6972384

Change-Id: Ic676c773fb7315dfb68fde2547d6e9d8324cfa1c
2019-04-18 10:14:11 -07:00
Sunny Shao
d1d9cc59b0 Merge "Let NGA item display above advanced item in the App & Notifications" into qt-dev
am: 57da877dde

Change-Id: I53ff246a5614c1dc57717b94c84261cdbcaf8f5a
2019-04-18 10:07:36 -07:00
Sunny Shao
2fea81c628 Merge "Remove the duplicated search item" into qt-dev
am: 1282390768

Change-Id: Ic855545cab08d8a27fd82ea753b5481cfb3f5dce
2019-04-18 10:06:41 -07:00
cosmohsieh
a33aadd214 Merge "[Network Connection] Show full SSID on list item" into qt-dev
am: 6e115e4fda

Change-Id: I7a5250221d73d163961f9894f96701d699711c90
2019-04-18 10:05:44 -07:00
pastychang
19b6972384 Set description textview to fixed id
am: f8409db196

Change-Id: I5f67c31f13e6d2b9bc029905e90f02caf6043a4f
2019-04-18 10:03:42 -07:00
TreeHugger Robot
57da877dde Merge "Let NGA item display above advanced item in the App & Notifications" into qt-dev 2019-04-18 16:54:58 +00:00
TreeHugger Robot
1282390768 Merge "Remove the duplicated search item" into qt-dev 2019-04-18 16:51:56 +00:00
TreeHugger Robot
6e115e4fda Merge "[Network Connection] Show full SSID on list item" into qt-dev 2019-04-18 16:51:37 +00:00
Fan Zhang
6dade8e430 Move "Build Number" slice to a different controller.
There are 2 build number tiles in settings: Android version -> Build
number and About phone -> build number.

The way we index breadcrumb for each slice is making some client
confused. So this change moves the slice capability from Androi
version>BuildNumber to About phone.

Fixes: 130652710
Test: reindex, robotest
Change-Id: I9054d0db124b706e7984cd3d19774bb604bd7fd3
2019-04-18 09:37:15 -07:00
Matthew Fritze
2bdea1d922 Prevent bad apps from getting Setting Slices
SettingsSliceProvider no longer allows apps to request permission
from the user for Settings Slices. Instead, the PrimaryAction on the
permission slice will be an intent into Settings.

This is because the dialog for granting apps Settings Slices would act
as a replacement for regular permission dialogs, which we want to avoid.

Fixes: 130795282
Test: robolectrico
Change-Id: I6848215bab2bf10ee5e53814b765d04f04f53f4e
2019-04-18 08:51:17 -07:00
markchien
8667e01cf5 Ignore the outdated entitlement check
Don't run entitlement if the request is base on outdated subId.

Bug: 129751453
Test: -build, flash, boot
      -atest TetherServiceTest
      -manual test with carrier SIM

Change-Id: Id3157df1a5758f8c72acbc45c9fefd2215c87395
Merged-In: Id3157df1a5758f8c72acbc45c9fefd2215c87395
2019-04-18 13:53:40 +00:00
Jonathan Scott
ed701572d7 Don't show policy transparency UI for cross-profile setting.
Also removes the switch if cross-profile calendar is disabled by admin.

Test: atest ManagedProfileSettingsTest
Fixes: 123930863
Change-Id: Ieeb9266e8833d7ca730fedb5e947b03ec7d18d3c
2019-04-18 11:31:50 +00:00
Sunny Shao
26bd5a9a8f Remove the duplicated search item
Disable the searchable of the "Adaptive battery" item in the smart_battery_detail.xml

Fixes: 130656532
Test: Manual View
Change-Id: I95beb97fc09ff6858f7b4e0e576a598c3520db86
2019-04-18 17:39:09 +08:00
pastychang
f8409db196 Set description textview to fixed id
Modify to fixed id for landscape Glif layout and non-glif layout

Test: Manual
Bug: 130707943
Change-Id: I6346817e582c2aac26753b3a985038cb0ca421bc
2019-04-18 07:43:30 +00:00
Sunny Shao
06da9c7df9 Let NGA item display above advanced item in the App & Notifications
Change the value of the initialExpandedChildrenCount to 4 and let NGA item to show.

Fixes: 130420794
Test: Manual View
Change-Id: Ic2453944a5eaea0b5fd65e0272bfac64ffbc1eec
2019-04-18 15:24:48 +08:00
Kevin Chyn
c45b514054 Merge "Tweak enrollment intro layout" into qt-dev am: 3683a688f7
am: 8abe1f7c7d

Change-Id: I5e44da3cdcf7294c04c8e780620957b91f33b590
2019-04-17 23:52:43 -07:00