Commit Graph

53270 Commits

Author SHA1 Message Date
Lei Yu
9afefb4bca Merge "Use NetworkTemplate to query data" into qt-dev am: 6b2030a17a
am: 6d260e680f

Change-Id: If038d443817e64f70dc3af2876772b6805ad3028
2019-05-15 13:32:25 -07:00
Fan Zhang
8bf20201d6 Merge "Revert "Revert "Make subsettings display edge-to-edge""" into qt-dev am: 17521d0ac7
am: d32e9b5229

Change-Id: Ib3f575faa30b5e55a44e71c28c2874bc3c4a7800
2019-05-15 13:31:28 -07:00
Fan Zhang
db3fca16f7 Fix preview image alignment issue due to clip padding.
CaptionPropertiesFragment is using a non-standard way to display preview
images. Changed to use LayoutPreference.

Bug: 132797057
Test: visual
Change-Id: I92bfd38e2880226d7385e98ed871dad4e1f30e42
2019-05-15 13:26:39 -07:00
Kevin Chyn
ceb5aa4514 Update enroll to match mocks
Test: manual
Fixes: 132803438
Change-Id: I99a10e60833a31b71abf8fdbf7e426e9867a1cf5
2019-05-15 12:51:13 -07:00
joshmccloskey
77735226a8 Re enable remove button after cancel
Fixes: 132753128
Test: Manual.
Change-Id: I36ef74455dc8ceca52dfbc8d0e6fbef770b2533d
2019-05-15 12:44:14 -07:00
Beverly
10d8894686 Always include uid as part of recentApp key
- so that work apps are also tracked

Test: atest RecentNotifyingAppsPreferenceControllerTest
Fixes: 132183578
Change-Id: Iceb9604674a3525b93c1cdde6e32a3a83b813866
2019-05-15 14:46:35 -04:00
Lei Yu
7db71f91bf Add empty check for path in UsageGraph
If path is empty, skip method since there is nothing to draw.

Bug: 132728523
Test: RunSettingsRoboTests
Change-Id: I6fdb7c2f69d3d658c47b58c7304cfeb7d4010a46
2019-05-15 11:36:15 -07:00
Mehdi Alizadeh
001fb53530 Replace system navigation animations will smaller files
Bug: 130915285
Test: Manual test
Change-Id: I902177c5f5c0d56f463fbc4e9532c70581fe9154
2019-05-15 11:05:12 -07:00
Alexey Kuzmin
1c5017c5fc Play vibration preview when turning on vibration
Bug: 130332550
Test: Go to Settings > Accessibility > Vibration. Set vibration strength
to some value, then set it to off, then set it back to the previous
value. The vibration preview should be played

Change-Id: Ie28efe01fc4df5356cc0d316c1a88e518f81df41
2019-05-15 17:03:48 +01:00
Alexey Kuzmin
63e3779701 Fix usage hint of ringtone vibration preview
Bug: 130332550
Test: Go to Settings > Accessibility > Vibration > Notification
vibration, set it to off. Go to Settings > Accessibility > Vibration >
Ring vibration, and switch it a couple times. The preview effect should
be played

Change-Id: Ida4f04bb92873120c0f958d298ec31c8fb5dab97
2019-05-15 14:56:16 +01:00
Pavel Grafov
973c5e5bf3 Make credential confirmation activity resizeable.
This prevents it from breaking split-screen mode.

Test: manual
Bug: 129045018
Change-Id: I380a9a51dbfb0e44f8d9800ae521584b13d0cc3f
2019-05-15 11:16:31 +01:00
Sorin Dinu
64f6da4d75 Merge "Added icons for partial system update card in the Security category" into qt-dev am: 2e26605065
am: bfb45b6177

Change-Id: Ie3ac8ac7fa860891f286c16cc83dabc1a61fe0a4
2019-05-15 00:00:37 -07:00
Sorin Dinu
bfb45b6177 Merge "Added icons for partial system update card in the Security category" into qt-dev
am: 2e26605065

Change-Id: I64cd2ebce05b77718b0ba8aa3cd6f7c69c1d0768
2019-05-14 23:53:19 -07:00
Sorin Dinu
2e26605065 Merge "Added icons for partial system update card in the Security category" into qt-dev 2019-05-15 06:31:49 +00:00
Kevin Chang
556422915d Merge "Change string of switchbar and installed service category title" into qt-dev am: d0c5f2d443
am: bfed5d1ca1

Change-Id: Ic897066e6b9989ff68b5e6b3b2cb2f5ffe56cea9
2019-05-14 20:24:53 -07:00
Salvador Martinez
1e1b7fb99c Merge "Fix dark theme and battery saver interaction" into qt-dev am: ba5964d99d
am: db30782bbf

Change-Id: I5d379c04ac030f60fb6dff117adca529661cd9c2
2019-05-14 19:52:22 -07:00
Kevin Chang
bfed5d1ca1 Merge "Change string of switchbar and installed service category title" into qt-dev
am: d0c5f2d443

Change-Id: I4e8f59bd9c5d0a9b906b4b0bbc05446dc24156ad
2019-05-14 19:50:05 -07:00
Kevin Chang
d0c5f2d443 Merge "Change string of switchbar and installed service category title" into qt-dev 2019-05-15 02:13:09 +00:00
Salvador Martinez
db30782bbf Merge "Fix dark theme and battery saver interaction" into qt-dev
am: ba5964d99d

Change-Id: I83ee0c60e08af8f2166eb3f01a30baa975a86600
2019-05-14 19:12:12 -07:00
Lei Yu
f84633ec79 Merge "Use NetworkTemplate to query data" into qt-dev am: 6b2030a17a
am: 6d260e680f

Change-Id: I0be1829d75cee480df6c86d11909e0c8e7fcb082
2019-05-14 18:47:51 -07:00
Salvador Martinez
ba5964d99d Merge "Fix dark theme and battery saver interaction" into qt-dev 2019-05-15 01:33:08 +00:00
Fan Zhang
ff8a733f63 Merge "Revert "Revert "Make subsettings display edge-to-edge""" into qt-dev am: 17521d0ac7
am: d32e9b5229

Change-Id: Icf5c8c48bb2ea7375cc03d3cec9d9879b6db7249
2019-05-14 18:15:28 -07:00
Kevin Chang
5111c50977 Fix no reaction when tapping permission dialog button in shortcut service page
Bug: 132579785
Test: Visual
Change-Id: If9102228439ce23bdfb925baf6f583bb9d4d550d
2019-05-15 09:07:22 +08:00
Colin Cross
e43660a00d Merge "Convert Settings to Android.bp" into qt-dev-plus-aosp
am: a7125ade35

Change-Id: I7627072b9a64c6713acc657e47a7755dca7383f9
2019-05-14 17:58:41 -07:00
Lei Yu
6d260e680f Merge "Use NetworkTemplate to query data" into qt-dev
am: 6b2030a17a

Change-Id: Ib3599b9c6c8500be35454de89c882c47c3d20721
2019-05-14 17:52:06 -07:00
Fan Zhang
d32e9b5229 Merge "Revert "Revert "Make subsettings display edge-to-edge""" into qt-dev
am: 17521d0ac7

Change-Id: Id702a72ce6adc1dbb20c4f00c0b16cf1ff5ef603
2019-05-14 17:41:06 -07:00
Colin Cross
714163a258 Merge "Use if instead of switch for resources" into qt-dev-plus-aosp
am: 341544f133

Change-Id: I20b2cfca7de66c653ba06aec7c51ba8f40ed22de
2019-05-14 17:38:49 -07:00
Lei Yu
6b2030a17a Merge "Use NetworkTemplate to query data" into qt-dev 2019-05-15 00:27:23 +00:00
TreeHugger Robot
17521d0ac7 Merge "Revert "Revert "Make subsettings display edge-to-edge""" into qt-dev 2019-05-15 00:01:30 +00:00
Colin Cross
a7125ade35 Merge "Convert Settings to Android.bp" into qt-dev-plus-aosp 2019-05-14 23:33:31 +00:00
Colin Cross
341544f133 Merge "Use if instead of switch for resources" into qt-dev-plus-aosp 2019-05-14 23:33:25 +00:00
Salvador Martinez
ee5f79edbd Fix dark theme and battery saver interaction
In settings we weren't properly taking into account battery saver
enabled dark theme. This CL makes it so that when battery saver
on we disable the toggle until battery saver is off since
you can't change dark theme in battery saver. Additionally it
adds a message indicating why the toggle was disabled so the
user doesn't get confused.

Test: robotests
Bug: 131913864
Change-Id: I855e429a666098c837650852d1e1355477afa13d
2019-05-14 14:08:24 -07:00
Fan Zhang
b4b7725937 Revert "Revert "Make subsettings display edge-to-edge""
This reverts commit 9e98b8cf0f.

We have to set clipToPadding false on scrollView to make it extend below
navbar. But the side effect is it stops clipping to padding. So it
overlaps with sibling views. In this case anything pinned on top of
screen (switchbar, pinned header for most UIs, and preview indicator for
font size page).

To fix them:
1. in preview pages, just revert back to clipTo*. Their UI doesn't scroll
   so it they don't need to special clip flag to begin with.
2. For pinned to top headers, we need to change the "z-order" by setting
   elevation and make sure background is not transparent.

Fixes: 132182711
Fixes: 132672399
Test: visually on normal screen, font size scree, wifi main setting UI,
      wifi data usage screen

Reason for revert: Rollforward with fix.

Change-Id: Ib6f7c4167b9a680a336f2a7310d82340094d3aac
2019-05-14 13:48:12 -07:00
Joshua Mccloskey
d7de47e6d9 Merge "Increased char limit for translations" into qt-dev am: 5513a9bdd1
am: 1e84e431d8

Change-Id: Ic97c962c5acd3d520827ac23d8e89a0c61f5b5c4
2019-05-14 12:39:09 -07:00
Joshua Mccloskey
54aa65a8dc Merge "Fixed talkback issue" into qt-dev am: b2f19c55b5
am: bda38381c2

Change-Id: I257eef235d30e6c5615762be3223f4647a376235
2019-05-14 12:37:17 -07:00
Joshua Mccloskey
1e84e431d8 Merge "Increased char limit for translations" into qt-dev
am: 5513a9bdd1

Change-Id: I4ccf9f83431c4a450d05b9118bb8d35cd6f08328
2019-05-14 12:23:21 -07:00
Joshua Mccloskey
bda38381c2 Merge "Fixed talkback issue" into qt-dev
am: b2f19c55b5

Change-Id: Ib2e2029bbd6da18307e9652a7ac4a08e4320d9c9
2019-05-14 12:18:22 -07:00
Joshua Mccloskey
5513a9bdd1 Merge "Increased char limit for translations" into qt-dev 2019-05-14 19:13:11 +00:00
Joshua Mccloskey
b2f19c55b5 Merge "Fixed talkback issue" into qt-dev 2019-05-14 19:09:37 +00:00
Fan Zhang
95959878bb Merge "Revert "Make subsettings display edge-to-edge"" into qt-dev am: 9a51ede665
am: 7db72f0ef1

Change-Id: Ie400dae74f651ba127a372d5109967f2256f509e
2019-05-14 11:34:47 -07:00
Fan Zhang
7db72f0ef1 Merge "Revert "Make subsettings display edge-to-edge"" into qt-dev
am: 9a51ede665

Change-Id: I1c152ddacaf43fa035ebf04159b9cf151cc11292
2019-05-14 11:10:40 -07:00
Salvador Martinez
c1a44d6b42 Add metrics stuff for dark ui dialog fragment
This constant was delayed due to some high traffic in the file
and deadlines. This CL just adds it.

Test: None, is a metrics change
Bug: 132695689
Change-Id: I2ccdfa8de93e062558cf6a6b49fa85a69cef7b82
2019-05-14 10:32:34 -07:00
Fan Zhang
9a51ede665 Merge "Revert "Make subsettings display edge-to-edge"" into qt-dev 2019-05-14 17:17:26 +00:00
Xin Li
e6eeb7bd55 DO NOT MERGE - Merge pi-platform-release (PPRL.190505.001) into stage-aosp-master
Bug: 132622481
Change-Id: I812914052b50070b44ac2e2ba573a7146b6cbb78
2019-05-14 10:08:40 -07:00
Fan Zhang
9e98b8cf0f Revert "Make subsettings display edge-to-edge"
This reverts commit c2a85a374d.

Bug: 132672399
Bug: 132182711
Test: n/a

Reason for revert: b/132672399

Change-Id: Icb34ae5b16b7a32215fe2c1a5f0d0d028c91b2ca
2019-05-14 16:31:08 +00:00
Hai Shalom
094aecb2a1 Merge "[OWE] Support OWE in transition mode" into qt-dev am: ae6f6ab00a
am: 6f80f0db2a

Change-Id: I9c3c44770475806609b6c95fae46a1f9bbef671b
2019-05-14 07:27:47 -07:00
Hai Shalom
6f80f0db2a Merge "[OWE] Support OWE in transition mode" into qt-dev
am: ae6f6ab00a

Change-Id: I2822ec654936266baf57f16108a1bcec830362ba
2019-05-14 07:11:34 -07:00
TreeHugger Robot
ae6f6ab00a Merge "[OWE] Support OWE in transition mode" into qt-dev 2019-05-14 13:57:05 +00:00
Sorin Dinu
ccf895aac0 Added icons for partial system update card in the Security category
Bug: b/132288646
Test: make RunSettingsRoboTests
Change-Id: I7f053b54d9b7e15a81f0f02895ee3266a613477e
2019-05-14 12:25:32 +01:00
Cn Chen
b5d54ae273 [automerger skipped] Merge "Font size page support light theme in deferred setup" into qt-dev am: 421a05a6a9
am: b5b3699f4c -s ours
am skip reason: change_id I41e1e98a9a64e516a294c4a94c8b5f335434078f with SHA1 7a83d51a6b is in history

Change-Id: Ia38aa5e4f519c433245b174250ab38d4aa3b96b2
2019-05-14 00:37:38 -07:00