Commit Graph

420442 Commits

Author SHA1 Message Date
Ned Burns
45fb016801 Merge "Ensure isTopBucket() gets set when there is just one notification" into qt-r1-dev
am: 9a38205327

Change-Id: Ic9c363e93356cfdd6ae157da39064bf70b3b400d
2019-08-09 10:56:10 -07:00
Fabian Kozynski
acc44b21a6 Merge "Prevent QSPanel from remeasuring" into qt-qpr1-dev 2019-08-09 17:53:39 +00:00
TreeHugger Robot
4bcd36661d Merge "Do not set guts visibility to transient state" into qt-qpr1-dev 2019-08-09 17:52:24 +00:00
Lucas Dupin
e28124af92 Merge "Assume sensors perform prox check" into qt-qpr1-dev 2019-08-09 17:43:50 +00:00
Ned Burns
9a38205327 Merge "Ensure isTopBucket() gets set when there is just one notification" into qt-r1-dev 2019-08-09 17:27:58 +00:00
Bill Yi
b3c1bb04b8 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-r1-dev
am: c7a7eaa776 -s ours
am skip reason: subject contains skip directive

Change-Id: I0ec2792ce542e9c39bf25843d16ff5b4df038d68
2019-08-09 10:11:47 -07:00
TreeHugger Robot
c7a7eaa776 Merge "Import translations. DO NOT MERGE" into qt-r1-dev 2019-08-09 16:52:31 +00:00
TreeHugger Robot
3e9656e544 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-08-09 16:27:20 +00:00
TreeHugger Robot
b24f30c685 Merge changes from topic "cherrypick_for_b_137937105" into qt-qpr1-dev
* changes:
  DO NOT MERGE: Fix ActivityView surface can't visible for ActivityViewTest
  DO NOT MERGE: Support alpha value in SurfaceView.
2019-08-09 14:26:50 +00:00
lumark
dc9b319039 DO NOT MERGE: Fix ActivityView surface can't visible for ActivityViewTest
CL [1] introduced ActivityView's surface view set alpha as zero by default.
but SurfaceView ignores alpha value by default.

So to archieve SurfaceView can support alpha value and then introduced CL[2].
with that CL, it will affect ActivityView that can't see the surface because
of this zero alpha value.

Since CLs[1] & [2] are mainly considered for BubbleController to implement
content visiblity with setting surface view's alpha value without
flickering, and in BubbleExpandedView#onFinishInflate has already
called setContentVisibility(false) to set ActivityView's alpha value as
zero before add this view.

So removing ActivityView's default zero alpha value would be fine, since
it may not always the case that need to set zero alpha but need to show
the black rectangle surface for user. (i.e. ActivityViewTest or Android Auto)

Also, refined ActivityView#setAlpha for some stuff to make it clear.

[1]: Ie5aed373996419b059935889b564ca91c2e3cf23
[2]: I86847de59109b2adf12a2c7c50c988c2cbcf0450

Bug: 137937105
Test: manual as below steps
      1) make & install ActivityViewTest
      2) launch "AV Main" shortcut
      3) press "Test ActivityView" -> "Launch test activity"
      4) see if launched Acitvity is visible as expected.
Test: atest ActivityViewTest, observe if ActivityView is visible during testing.

Change-Id: Iaf480912f06a6851001a42bf90e4d962c8a88a37
2019-08-09 14:26:12 +00:00
Issei Suzuki
94e8d116ab DO NOT MERGE: Support alpha value in SurfaceView.
For backward compatibility, SurfaceView ignores alpha value by
default. In order to reflect alpha value set on the SurfaceView
to its underlying surface, setUseAlpha() needs to be called.

Translucent alpha only works when the surface is placed z-above.
Otherwise only fully opaque and transparent status are supported.

Bug: 137937105
(Orignal bug from b/130442248)
Test: Manual, use BubblesTest app and checks if alpha is set.
Change-Id: I86847de59109b2adf12a2c7c50c988c2cbcf0450
2019-08-09 14:08:03 +00:00
Fabian Kozynski
0b7d617af2 Prevent QSPanel from remeasuring
Once QSPanel has been measured, do not measure it again in the pass from
QSContainerImpl.

This prevents measuring with a slightly bigger size
(why?) that causes it to recalculate the number of rows (and the number
of pages) of PagedTileLayout. In some cases, this was causing a
different measure while scrolling for an instant, changing the number of
pages and therefore sending the user to page 0 again.

Fixes: 135136427
Test: manual, following configs:
	* landscape and portrait
	* 1, 2 and 3 pages
	* Security footer off and on with 1 and 2 lines

Change-Id: I74e3ce68bd2d3a8b7af1c84d9d0164ce6a672ed1
2019-08-09 08:51:39 -04:00
Bill Yi
1d5f83b0ab Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I9df1f54ad86eab46524acc13721bff37e63a716d
2019-08-09 00:37:36 -07:00
Bill Yi
a5576ff9aa Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I68fcda4e1f4d0abaebf711f96f3770411b85fb5d
2019-08-08 21:48:16 -07:00
Adam Cohen
bc5897ada6 Merge "Make the back longpress timeout a system property" into qt-r1-dev
am: 55d3821609

Change-Id: I5f806a62000927a8da9c9edfa97dbcfb71916f1d
2019-08-08 21:23:32 -07:00
Adam Cohen
55d3821609 Merge "Make the back longpress timeout a system property" into qt-r1-dev 2019-08-09 03:37:37 +00:00
Ned Burns
2d35980e72 Ensure isTopBucket() gets set when there is just one notification
My descendants will vilify this CL for generations to come. We'll
clean it up for R, but this is our last, best hope for fixing things
in Q.

Bug: 138775282

Test: manual
Change-Id: I615b2f7fddca30dae67dbaab0e5d54a824a4c441
2019-08-08 22:16:52 -04:00
Bill Yi
c0491bf9a9 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev am: 801d177995 -s ours
am: da046065c4 -s ours
am skip reason: subject contains skip directive

Change-Id: Iff6efaacfa002a2e305c931c4e60a708f179fadd
2019-08-08 18:36:03 -07:00
Bill Yi
da046065c4 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 801d177995 -s ours
am skip reason: subject contains skip directive

Change-Id: I71e66cacaa799e8bcb1f2d994862290644fd47c5
2019-08-08 18:25:06 -07:00
TreeHugger Robot
801d177995 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-08-09 01:08:59 +00:00
Hall Liu
feadbafc03 Merge "Add carrier config for allowing merge of RTT calls" into qt-r1-dev
am: f84ff34a31

Change-Id: I14916ac03825bcfac65208aa2dfda26e7d7b8632
2019-08-08 17:13:34 -07:00
Hall Liu
f84ff34a31 Merge "Add carrier config for allowing merge of RTT calls" into qt-r1-dev 2019-08-08 23:47:58 +00:00
TreeHugger Robot
0571fa8211 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-08-08 22:29:13 +00:00
Lucas Dupin
9171207bf5 Do not set guts visibility to transient state
We can't really copy the guts visibility during reinflation
because we might be in the middle of an animation.
Let's rely on a more stable property to determine the visibility.

Test: expand guts, close guts
Test: expand guts, switch dark mode
Test: expand guts, switch dark mode, expand guts again
Test: change font size, expand and collapse guts
Fixes: 135553192
Change-Id: I76f02bbd8f071c94e9c2c777e1d1c1de995ea37b
2019-08-08 15:27:53 -07:00
Lucas Dupin
f40bd8fbb6 Assume sensors perform prox check
Assume that doze sensors will be prox gated.
Not doing so would be a bad idea anyway since the device would wake
up way more often than it should and drain battery.

Another improvement on this CL is that regular DozeSensors prox
checks are trying to use a binned brightness sensor instead.

Fixes: 138765669
Test: atest DozeSensorsTest DozeTriggersTest
Test: single tap from AOD (observe no re-registration of lift)
Test: 'reach' from AOD (observe no re-registration of lift)
Test: receive notification with prox covered or unobstructed
Change-Id: I1961ff9b16480ba1a60c397570494dd7acb4802d
2019-08-08 14:52:53 -07:00
Adam Cohen
a699c284a3 Make the back longpress timeout a system property
issue 138944380

Test: manual

Change-Id: I9cebea1f7f44298a8723d04df17349cc3cb03067
2019-08-08 14:52:08 -07:00
Andrew Sapperstein
f9dc7e8535 Merge "Add a blacklist for preinstalled carrier apps." into qt-dev am: aa3689c4d9
am: 386126a450

Change-Id: I71c331bb025b0c0786d5bfb6f46e760ef3d8aa54
2019-08-08 14:40:05 -07:00
Andrew Sapperstein
386126a450 Merge "Add a blacklist for preinstalled carrier apps." into qt-dev
am: aa3689c4d9

Change-Id: I4a9898f5a205b7ff13ef8631870cbe3f8451923b
2019-08-08 14:30:33 -07:00
Andrew Sapperstein
aa3689c4d9 Merge "Add a blacklist for preinstalled carrier apps." into qt-dev 2019-08-08 20:50:09 +00:00
bsears
ffd303312b Merge "Avoid using secondary displays as launch params when not support" into qt-dev am: c5568f9aac
am: 54ce005a97

Change-Id: I8c6af618546f5bb8ec1eadb7a9988a71857bb88a
2019-08-08 11:19:22 -07:00
bsears
54ce005a97 Merge "Avoid using secondary displays as launch params when not support" into qt-dev
am: c5568f9aac

Change-Id: I28c1abc4eea843fdbffc95d9bccde910e415a468
2019-08-08 11:02:43 -07:00
TreeHugger Robot
48d3b7ce3e Merge "Don't crash trying to stop program list updates on already closed tuner" into qt-qpr1-dev 2019-08-08 17:54:28 +00:00
Bill Yi
008a05c2db Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ie8885933ae01cb24f524be427fbf09e6c278fd53
2019-08-08 10:51:22 -07:00
bsears
c5568f9aac Merge "Avoid using secondary displays as launch params when not support" into qt-dev 2019-08-08 17:51:11 +00:00
Bill Yi
a241f18783 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I1fc9b1dc26f21604c06de951f0bfc0ec4e5e1155
2019-08-08 10:30:47 -07:00
Patrick Baumann
0796e013f2 Merge "Cleans up sharedUser regardless of creation logic" into qt-dev am: a1bf282e43
am: da658b4a34

Change-Id: I8ec2669b8671ccfbb778ae42f8f5773776fb1e75
2019-08-08 10:06:45 -07:00
Patrick Baumann
da658b4a34 Merge "Cleans up sharedUser regardless of creation logic" into qt-dev
am: a1bf282e43

Change-Id: Ic721f31332bbcbb9d64e501b3b94b6b457c8af51
2019-08-08 09:56:08 -07:00
TreeHugger Robot
a1bf282e43 Merge "Cleans up sharedUser regardless of creation logic" into qt-dev 2019-08-08 16:18:33 +00:00
Lucas Dupin
5364c5c49e Merge "Stop face auth requests when users are typing" into qt-qpr1-dev 2019-08-08 15:26:04 +00:00
Tomasz Wasilczyk
06e534a3fb Don't crash trying to stop program list updates on already closed tuner
Bug: 130816005
Test: build and run
Change-Id: Ibb0af40165c6b330785ef208510ba654c5ee6ad7
(cherry picked from commit 136870f7f1)
2019-08-08 15:19:48 +00:00
Andrew Sapperstein
e016781807 Add a blacklist for preinstalled carrier apps.
Allows an OEM to specify that a preinstalled carrier app, even if
TelephonyManager says it should have carrier privileges, does not
get granted the default permissions and does not get enabled when
a compatible SIM is inserted.

Bug: 138150105
Test: verified locally
Change-Id: I0afec28f1f18227947c1fe9e6bb5fd0dad3b5dac
Merged-In: I0afec28f1f18227947c1fe9e6bb5fd0dad3b5dac
2019-08-08 15:05:06 +00:00
TreeHugger Robot
2233164086 Merge "Avoid using secondary displays as launch params when not support" into qt-qpr1-dev 2019-08-08 03:35:27 +00:00
Patrick Baumann
cf9a4835c1 Cleans up sharedUser regardless of creation logic
Prior to this change, we were not updating the shared user a package
setting belongs to if the package setting was not deep copied. In the
case that shared users didn't match, we were not deep copying and so
were not updating later. There is a more fundamental change to be made
here, but we're limiting risk by keeping this change as small as
possible.

Bug: 138919405
Test: atest AppSecurityTests
Test: manual; flash P then flash this build: observe consistent PackageSettings
Change-Id: Ib22f9e6a1fb3104bec4eb3e5b1de983e19d49dce
2019-08-07 19:25:02 -07:00
Hall Liu
ef80008000 Add carrier config for allowing merge of RTT calls
Add a carrier config key that specifies whether merging an RTT call is
allowed.

Bug: 136035168
Test: manual

Change-Id: I8cfdf68c69b50abed88d7c835db0480a53755f5a
2019-08-07 16:37:45 -07:00
Kevin Hufnagle
68069af829 Merge "docs: Removed dates in obsolete field messages." into qt-dev am: 45855214b5
am: 3956d9606c

Change-Id: Ieddbc7388e0594554b91b30534718c1c0de500c4
2019-08-07 15:34:26 -07:00
Kevin Hufnagle
3956d9606c Merge "docs: Removed dates in obsolete field messages." into qt-dev
am: 45855214b5

Change-Id: I549026ea364645a8d60a1a06df9b20886a6df97a
2019-08-07 15:23:39 -07:00
Kevin Hufnagle
45855214b5 Merge "docs: Removed dates in obsolete field messages." into qt-dev 2019-08-07 22:05:16 +00:00
Lucas Dupin
ccf6721e41 Stop face auth requests when users are typing
We don't want the bouncer to be dismissed right under the user's finger
when typing.
Let's abort face auth after we start typing.

Test: solve challenge when face auth is running
Test: repeat for pin/pattern/password
Fixes: 136525169
Change-Id: I8f1ccbca4be9c84f5cb108618b84aefe03b74cc4
2019-08-07 12:57:31 -07:00
Ryan Mitchell
55189157a9 Merge "Stop idmap2d after several seconds pass" into qt-r1-dev
am: aa22db3da7

Change-Id: Iadb3c2ef9dbb0863559d805fb2692dc8d6adcda5
2019-08-07 10:06:38 -07:00
Adrian Roos
4fd6bf01d3 Merge "GestureNav: Fix AbsSeekBar thumb exclusion" into qt-r1-dev
am: 92f61f0323

Change-Id: If88cb2016add304bb4ac18c957abb71538329583
2019-08-07 09:56:48 -07:00