Commit Graph

420452 Commits

Author SHA1 Message Date
Sunny Goyal
ffe8886cd3 Merge "Hide the home handle in lock task home when home and overview are disabled" into qt-r1-dev
am: 2862d538b6

Change-Id: Ied33a36a262ad766421321e9f4c53bb07a608fe7
2019-08-09 15:18:28 -07:00
TreeHugger Robot
2862d538b6 Merge "Hide the home handle in lock task home when home and overview are disabled" into qt-r1-dev 2019-08-09 21:51:03 +00:00
Bill Yi
3fa31fb1cf [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev am: fe2d421fab -s ours
am: 5c0d577dea -s ours
am skip reason: subject contains skip directive

Change-Id: I8137f4945cc640f35f7de41ca90ba9c3ece572a3
2019-08-09 12:38:47 -07:00
Bill Yi
5c0d577dea [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: fe2d421fab -s ours
am skip reason: subject contains skip directive

Change-Id: I2b7c8c005bb0d174a451243b9f0b4148f6c427bb
2019-08-09 12:26:12 -07:00
TreeHugger Robot
fe2d421fab Merge "Import translations. DO NOT MERGE" into qt-dev 2019-08-09 18:42:27 +00:00
Lucas Dupin
78d9978fa6 Merge "Fade from black when reach" into qt-r1-dev
am: 331cdb72e6

Change-Id: I94c39e651621b47e3bad580df1b0895e91cf1d42
2019-08-09 11:00:00 -07:00
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
TreeHugger Robot
331cdb72e6 Merge "Fade from black when reach" into qt-r1-dev 2019-08-09 17:39:40 +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
1715bf4a65 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: If8df5134da53280a8a52b21df9d4769d31230d0a
2019-08-08 18:58:21 -07: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
Lucas Dupin
fea9b86e9c Fade from black when reach
Previously, we were fading from the previous state, which could
be transparent. The screen would seem to flash if the wallpaper
were light.

Test: manual
Fixes: 138097741
Change-Id: Ic86024b8970e01ed405e90bf12ef2dc27acf1c29
2019-08-08 16:58:50 -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
Sunny Goyal
be4e054cd3 Hide the home handle in lock task home when home and overview are disabled
Bug: 137626984
Test: Verified the home handle is hidden with CtsVerifier app
Change-Id: I0c21ae5b6f0d094e84b2ba4200a93fd9c4295a55
2019-08-08 16:47:24 -07: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