Commit Graph

52174 Commits

Author SHA1 Message Date
joshmccloskey
f98f6bacf8 Reduced time to 3 seconds.
Test: Manual.
Fixes: 133364918
Change-Id: I1ce38f49a64d7066117cf3f0008a4558983033f2
2019-05-22 19:35:48 -07:00
Pasty Chang
6746e15859 Merge "Apply stencil theme for description textview" into qt-dev 2019-05-23 01:40:14 +00:00
TreeHugger Robot
8866301b83 Merge "Update logic to build slider slice" into qt-dev 2019-05-23 00:39:10 +00:00
Evan Laird
f061ccf14d Remove gentle/alerting icons from channel settings
Don't show the blue/orange gentle/alerting icons in the top-level
notification settings. Just good ol' whitespace.

Bug: 132971502
Test: visual
Change-Id: I63d0f727c9e9a63f888212009b64d89a910b4645
2019-05-22 18:21:18 -04:00
TreeHugger Robot
bbdf816d5f Merge "Updated spacing" into qt-r1-dev 2019-05-22 22:20:49 +00:00
Mady Mellor
2c960fca1a App Bubble control page should always be available, even if off globally
There is API to open up the app-specific bubble page, therefor, we should
always show the toggle. The previous work to move bubbles to developer
settings broke this.

This CL adds a param to the controller to note whether it's the app
specific page or not (since controller is also used for channel settings)
to enable this behaviour.

Added a test for this situation.

Test: make -j40 RunSettingsRoboTests ROBOTEST_FILTER=Bubble
Bug: 131846917
Change-Id: I72b1f4b5b033d1b24281061cfa6bed4d734dfcb1
2019-05-22 15:04:31 -07:00
Mady Mellor
ddec88774a Make sure the fragment manager is passed to BubblePreferenceController
This wasn't being set always / at least for the app specific page.
This CL ensures it is & makes it so that there is only 1 constructor.

Fixes: 132864244
Test: make -j40 RunSettingsRoboTests ROBOTEST_FILTER=Bubble
Change-Id: I9c422e75583b3091d1571cfb8cc43ec49b801599
2019-05-22 15:03:28 -07:00
Lei Yu
2837d010ad Update logic to build slider slice
Return null when slider getMax() <= getMin(), instead of force
build it to make it crash

Fixes: 132657278
Test: RunSettingsRoboTests
Change-Id: I9f3c078ae07522aa8f1cebdee3f73df2d014d6bb
2019-05-22 14:13:09 -07:00
Steve Elliott
e772123a26 Add entry point to global actions panel settings
Bug: 133241418
Test: manual
Change-Id: Id4268cacce30b08ad5c7c8afe3e1b44d4d1ac1e3
2019-05-22 20:51:40 +00:00
joshmccloskey
c71dd8f628 Updated spacing
Test: Manual.
Fixes: 133190719
Change-Id: I1d6b0de2815d03cf6277192fd192cdbedd358dee
2019-05-22 13:35:13 -07:00
lindatseng
b84816d05b Merge "Add null check to precent crash in monkey test" into qt-dev
am: 99162f2a35

Change-Id: I0f97e3b46e081fca41190ba9ea10d839f268511a
2019-05-22 13:22:01 -07:00
Steve Elliott
2c293a2455 Remove info footer in global actions panel settings
Bug: 133332405
Test: manual
Change-Id: I8b7eed5ce3b4b585b0940888ef7c7413617e90dd
2019-05-22 15:38:00 -04:00
TreeHugger Robot
99162f2a35 Merge "Add null check to precent crash in monkey test" into qt-dev 2019-05-22 19:21:37 +00:00
Varun Shah
3e228f5a1a Update design for Family Link supervision enrollment dialog.
Bug: 124066840
Test: manual (trigger dialog via adb shell command)
Change-Id: Iff79a2ed034bb0128ce6c573ceea58c7a9f1c985
2019-05-22 11:48:07 -07:00
Julia Reynolds
4679c46a8a Merge "Config notifs page updates" into qt-dev
am: 1c83c08289

Change-Id: I81339b13cb9cb222e324be4ff55214fc07966376
2019-05-22 11:05:38 -07:00
lindatseng
0146947e25 Merge "Always create new task when launching WifiDialogActivity" into qt-dev
am: 49776845e5

Change-Id: Icefc8ded8ced006f6d3499d8744e83d8a5b00064
2019-05-22 10:58:15 -07:00
lindatseng
be70aaa6c4 Add null check to precent crash in monkey test
Fixes: 133259172
Test: manual
Change-Id: Ib4dd24965fda40a7a917397bf558309e0424bf16
2019-05-22 10:36:50 -07:00
TreeHugger Robot
1c83c08289 Merge "Config notifs page updates" into qt-dev 2019-05-22 17:30:30 +00:00
TreeHugger Robot
49776845e5 Merge "Always create new task when launching WifiDialogActivity" into qt-dev 2019-05-22 17:12:30 +00:00
Alexey Kuzmin
0d87841f11 Merge "Add a clarifying comment" into qt-dev
am: b1e4072518

Change-Id: I7cb1cef1fa78f93478a6dc21b289f34a2458bc23
2019-05-22 09:45:11 -07:00
Julia Reynolds
4fe79c266e Config notifs page updates
- Remove unused settings
- Regroup and combine lockscreen settings. The original
lockscreen controller is used in other places (SUW and privacy)
and so it's left untouched for those uses for now.

Test: atest
Bug: 132971502
Change-Id: Ic82817ff98cab27ca35b9488ae2e0eb6922a18e8
2019-05-22 12:00:49 -04:00
TreeHugger Robot
b1e4072518 Merge "Add a clarifying comment" into qt-dev 2019-05-22 15:08:27 +00:00
pastychang
48082f891a Apply stencil theme for description textview
Fingerprint enrolling page has a fixed description id. Another
description textview should use setup lib API to apply stencil theme.

Bug: 132366547
Test: Manual
Change-Id: Ifa664b84718ecd211f4c8ff1542ce38c2ef6481b
2019-05-22 13:29:39 +00:00
Alan Stokes
303c31f492 Background activity starts are now blocked by default.
Change the default for "Allow background activity starts" to off,
matching the logic in the activity manager.

Bug: 129955487
Bug: 129533810
Test: make RunSettingsRoboTests \
ROBOTEST_FILTER=AllowBackgroundActivityStartsPreferenceControllerTest

Change-Id: If9eeae699f9c8b7913da4456a45286f816cc7463
2019-05-22 12:55:16 +01:00
Stanley Wang
ae78184c5f Fix Settings crashing while displaying phone number slice.
Check if the SubscriptionInfo list is empty to avoid the IndexOutOfBoundsException.

Fixes: 133258244
Test: maunal & robotest

Change-Id: I837f6761ba2b53823f0126f734f65875a30e34dd
2019-05-22 16:50:52 +08:00
Mill Chen
388cca892a Merge "Revert "Revert "Update dialog background color for dark theme""" into qt-dev
am: ef0f8a4dab

Change-Id: I4b0c4999433203dfc76f42d12ae0b47bf6a0d0a8
2019-05-22 00:46:16 -07:00
Mill Chen
ab98f12e68 Merge "Revert "Update dialog background color for dark theme"" into qt-dev
am: 69faee7358

Change-Id: Ib6439a8a85383b6171a98474be18e30d56ea2b88
2019-05-22 00:39:46 -07:00
Shuo Qian
89f9e91075 Merge "Add AutoCancel Notification UI for sim change" into qt-dev
am: 2d2b224a09

Change-Id: Ic9ef00676afab1575684ad9e8cc86e2656cf8dac
2019-05-21 23:20:34 -07:00
Sorin Dinu
af22e72a77 Merge "New icons for partial system update tile which is listed in the Security Status category." into qt-dev
am: bab0f4c098

Change-Id: I9d4cff5f3001dc32f6b6c5e37b7e0551a45b0f10
2019-05-21 23:15:49 -07:00
Mill Chen
ef0f8a4dab Merge "Revert "Revert "Update dialog background color for dark theme""" into qt-dev 2019-05-22 05:21:21 +00:00
Salvador Martinez
cfb9b61a6e Merge "Add metrics stuff for dark ui dialog fragment" into qt-dev
am: d680ea2620

Change-Id: If4e4fb3cf37be790698e1e018385e683fcc38a96
2019-05-21 22:04:45 -07:00
TreeHugger Robot
69faee7358 Merge "Revert "Update dialog background color for dark theme"" into qt-dev 2019-05-22 04:43:09 +00:00
Shuo Qian
2d2b224a09 Merge "Add AutoCancel Notification UI for sim change" into qt-dev 2019-05-22 03:23:33 +00:00
TreeHugger Robot
bab0f4c098 Merge "New icons for partial system update tile which is listed in the Security Status category." into qt-dev 2019-05-22 01:14:16 +00:00
TreeHugger Robot
d680ea2620 Merge "Add metrics stuff for dark ui dialog fragment" into qt-dev 2019-05-22 00:08:49 +00:00
Antony Sargent
ce8495d632 Merge "Prevent NullPointerException in SimStatusDialogController" into qt-dev
am: e959c201ce

Change-Id: I5833d2f7d2a715e54861de1e6692c81d4dc27016
2019-05-21 16:43:24 -07:00
lindatseng
8d7d01360d Always create new task when launching WifiDialogActivity
Set doucmentLaunchMode to always for WifiDialogActivity.  Always
create new task when launching wifi dialog activity so it won't
try to open the existing one.

Test: Manual
Fixes: 133206261
Change-Id: If35f0ea8f6d2f6b94ff58b4508f73f265ca4b5dd
2019-05-21 15:53:25 -07:00
TreeHugger Robot
e959c201ce Merge "Prevent NullPointerException in SimStatusDialogController" into qt-dev 2019-05-21 20:34:13 +00:00
Lei Yu
23aa7a78ef Merge "Set some BT icon background to white" into qt-dev
am: 6cb224b38b

Change-Id: I206c6f60e3ec54e6f5798248128f62a63c6b8aef
2019-05-21 11:54:21 -07:00
Julia Reynolds
b1ec5751c1 Merge "Fix hiding of channel fields" into qt-dev
am: c14825c93d

Change-Id: If177a632404ae3af41c18c2c36b9b4e6ddb2a218
2019-05-21 11:50:38 -07:00
Amin Shaikh
f692c8e570 Merge "Remove unnecessary STOPSHIP." into qt-dev
am: ed3136b72d

Change-Id: I8155cbd70d2ad8daffa7b0fc9f67904d8e4ca02a
2019-05-21 11:47:06 -07:00
sqian
36e11d2249 Add AutoCancel Notification UI for sim change
Bug: 131380487
Test: manual
Change-Id: Iaf1b1216e358683906b683c688828236f3282cf9
2019-05-21 18:45:14 +00:00
Antony Sargent
36ecc7006f Merge "Fix signal strength display in 'Choose network' list" into qt-dev
am: 13acaddf47

Change-Id: Ie435d64a69a0320f8879377bd2d5ac567c34679a
2019-05-21 11:14:18 -07:00
Lei Yu
6cb224b38b Merge "Set some BT icon background to white" into qt-dev 2019-05-21 17:14:53 +00:00
Antony Sargent
5c46d93bd8 Prevent NullPointerException in SimStatusDialogController
In rare cases the SignalStrength we get for a SIM can be null, which
wasn't checked for in this code. This CL adds a null check and fixes the
tests so it's possible to verify the fix (one of the methods that would
have crashed was being spy'd over unnecessarily).

Fixes: 132570076
Test: make RunSettingsRobotests
Change-Id: Ifdec24f184ee2d93e5e242eb2c20695249992fc6
2019-05-21 10:02:10 -07:00
TreeHugger Robot
c14825c93d Merge "Fix hiding of channel fields" into qt-dev 2019-05-21 16:58:23 +00:00
TreeHugger Robot
ed3136b72d Merge "Remove unnecessary STOPSHIP." into qt-dev 2019-05-21 16:52:31 +00:00
Sorin Dinu
5350668411 New icons for partial system update tile which is listed in the Security
Status category.

Bug: b/132288646
Test: make RunSettingsRoboTests
Change-Id: Ib9b1951fbed673cba2ed803a1b2bb2752f21cfe9
2019-05-21 17:42:04 +01:00
TreeHugger Robot
13acaddf47 Merge "Fix signal strength display in 'Choose network' list" into qt-dev 2019-05-21 16:05:34 +00:00
Amin Shaikh
66dba94797 Remove unnecessary STOPSHIP.
THEME_CUSTOMIZATION_OVERLAY_PACKAGES will no be set in Q. When it is set, these developer settings will be removed entirely.

Change-Id: Ic33bb68a4e4a0fabc6731169ef96ecd386dc441e
Fixes: 122308197
Test: presubmit
2019-05-21 13:51:27 +00:00