Commit Graph

105201 Commits

Author SHA1 Message Date
David Nelloms
21e69dd2d1 Merge "Notify on task display change." into qt-r1-dev am: d2310e6ce3
am: 9733e690f9

Change-Id: Id3edb8a4410c85c4ea594738f88e52c49ec8223e
2019-06-27 11:19:15 -07:00
Felix
2b1c378f0c Merge "PhoneWindowManager/KeyEvent: Camera key as WakeKey" am: dec76b8a40 am: 1841f6af1d am: de67a21c84
am: 727d193d5d

Change-Id: I418a5275d5ff6148eb5405589a1f89d3d2fa3f4e
2019-06-27 10:34:25 -07:00
TreeHugger Robot
cb842b96a0 Merge "Fixed Autofill workflow is broken" 2019-06-27 12:24:36 +00:00
Winson Chung
6ff63bdf73 Merge "Catch all exceptions in onFrameDraw" into qt-dev am: cff24b878d am: abe1a94072
am: 056fd40726

Change-Id: Icd452fb2132ffd98fe65ee5951f727e41a37f40b
2019-06-26 18:35:14 -07:00
Adam He
55f0e3be9c Merge "Fixed autofill compat mode regression caused by DecorContext" into qt-dev am: 2f54cf120e am: f44f4f9832
am: 5ab9ecd701

Change-Id: I9fb52d6e474185f87857f1055d55fa30263afd85
2019-06-26 18:22:40 -07:00
Daniel Sandler
d425d4f74f Merge "resolve merge conflicts of 9c9b26fba6 to master" 2019-06-26 22:18:26 +00:00
TreeHugger Robot
42439214eb Merge changes Ifd466d1e,I9f57651a
* changes:
  Don't set windowing mode in fullscreen displays.
  Only persist launch params on freeform display.
2019-06-26 20:34:30 +00:00
TreeHugger Robot
ee57765372 Merge changes from topic "sc_handles"
* changes:
  Remove SurfaceControl#getHandle from JAVA apis 2/2
  Remove SurfaceControl#getHandle from JAVA apis 1/2
2019-06-26 17:56:32 +00:00
David Nelloms
9733e690f9 Merge "Notify on task display change." into qt-r1-dev
am: d2310e6ce3

Change-Id: Ie4c6606c43ded6f35fcbef4e0d6c28977f3e09e5
2019-06-26 10:40:44 -07:00
Chavi Weingarten
0b326518f0 Merge "Deleted SurfaceControl.remove method" 2019-06-26 17:06:57 +00:00
David Nelloms
d2310e6ce3 Merge "Notify on task display change." into qt-r1-dev 2019-06-26 16:58:02 +00:00
Garfield Tan
3129b85335 Only persist launch params on freeform display.
We don't want to launch to fullscreen only because it's been launched on
a fullscreen display before. We should still restore the bounds when it
was on a freeform display last time.

Bug: 135941344
Bug: 135780225
Test: Manual tests.
Change-Id: I9f57651a01513652cc4c38c2d91d4c46db5c5d5d
2019-06-26 09:44:52 -07:00
TreeHugger Robot
559ce55e7f Merge "Record initial app given importance" 2019-06-26 16:17:38 +00:00
TreeHugger Robot
777251c2d0 Merge "Add handle suppression to learned state" 2019-06-26 16:01:03 +00:00
Fabian Kozynski
d69617080e DO NOT MERGE Revert Privacy Indicators to P
am: 5c837108e2

Change-Id: I620ec40368bb4cb12ee7dbb9a93d65b02edac81a
2019-06-26 06:45:29 -07:00
Fabian Kozynski
e8c61a23f8 Merge "DO NOT MERGE Revert Privacy Indicators to P" into qt-r1-dev 2019-06-26 13:16:23 +00:00
Mihai Popa
2609c7ab4d Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into qt-dev am: 65f73d6bb8
am: 53416a8c01

Change-Id: Ifefe416786ee7ec67d59de8fe7b2ae859a79855b
2019-06-26 05:02:29 -07:00
Mihai Popa
53416a8c01 Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into qt-dev
am: 65f73d6bb8

Change-Id: Iadad3af2dfc1b1d9e28335980e0af58440943a8d
2019-06-26 04:52:32 -07:00
TreeHugger Robot
65f73d6bb8 Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" into qt-dev 2019-06-26 11:40:03 +00:00
Felix
727d193d5d Merge "PhoneWindowManager/KeyEvent: Camera key as WakeKey" am: dec76b8a40 am: 1841f6af1d
am: de67a21c84

Change-Id: I6c8450688f79394195e493877156e67330d022ff
2019-06-26 00:35:26 -07:00
Felix
de67a21c84 Merge "PhoneWindowManager/KeyEvent: Camera key as WakeKey" am: dec76b8a40
am: 1841f6af1d

Change-Id: I6771fdd3408461fb8343006a05d15c260d0fb256
2019-06-26 00:27:32 -07:00
davidln
1ceedb55d0 Notify on task display change.
This is a targeted fix for not receiving a task stack change callback
when a task with a resumed Activity is reparented to another display.

Bug: 128932906

Test: manual - launch activity from virtual display onto default display
  in a new task, verify callback notified. atest WmTests
Change-Id: Idabad8379cded664bcf302d5c6fb69564d158eb7
2019-06-25 21:05:31 -07:00
TreeHugger Robot
482c2c994d Merge "Improved TimingsTraceLog performance by using arrays, instead of Deque of Pairs." 2019-06-26 03:24:52 +00:00
Vishnu Nair
bc9beab8fe Remove SurfaceControl#getHandle from JAVA apis 2/2
Holding on to a reference of the handle in Java will keep the server-side surface alive until
the reference is removed by GC. This may cause surfaces to be kept alive longer than necessary.
Instead hold on the surface control and call SurfaceControl#release which will release the local
reference to the server-side surface.

Bug: 136004147
Test: go/wm-smoke

Change-Id: Iff7d48ae1593cea2e188aa07c417f4c5a98887d5
2019-06-25 17:33:44 -07:00
Vishnu Nair
4bcd152a3a Remove SurfaceControl#getHandle from JAVA apis 1/2
Holding on to a reference of the handle in Java will keep the server-side surface alive until
the reference is removed by GC. This may cause surfaces to be kept alive longer than necessary.
Instead hold on the surface control and call SurfaceControl#release which will release the local
reference to the server-side surface.

Bug: 136004147
Test: go/wm-smoke
Test: gesture nav sanity tests
Test: atest CompositionSamplingListenerTest

Change-Id: Iab33680746c8f48c28783e6a2a13c9ac7ae04980
2019-06-25 17:31:11 -07:00
TreeHugger Robot
a33ce8a337 Merge "Fix Layout.primaryIsTrailingPreviousAllLineOffsets" 2019-06-26 00:18:11 +00:00
TreeHugger Robot
cac81a5c18 Merge "Add handle suppression to learned state" into qt-r1-dev-plus-aosp 2019-06-26 00:15:06 +00:00
chaviw
9f6171e7b2 Deleted SurfaceControl.remove method
Updated all callers of SC.remove to use Transaction.remove(sc) and apply
immediately since that's the equivalent. Eventually, the transactions
that contain remove could combine with other transactions if it makes
sense to avoid duplicate applies.

Test: SurfaceControlTest
Change-Id: I13c6ec86de6a6d60f142c2269337557510dd006d
2019-06-25 17:09:03 -07:00
Dan Sandler
8300235b66 resolve merge conflicts of 9c9b26fba6 to master
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ia32b6803d06a99dc3f75fd63a96302928d29ce1c
2019-06-25 19:18:02 -04:00
Mihai Popa
7ad499d007 Fix Layout.primaryIsTrailingPreviousAllLineOffsets
The CL fixes a crash in Layout.primaryIsTrailingPreviousAllLineOffsets.
The crash was happening when the method was called for a line beginning
with an empty bidi run. This could happen, for example, for empty text -
I was unable to find any other case. The CL improves the existing test
for the method with this case, which was previously crashing.

The CL also fixes a potential crash in getLineHorizontals. However, this
bug could never happen as in the current code path clamped is always
false (and kept as parameter for parity with getHorizontal).

Bug: 135444178
Test: atest FrameworksCoreTests:android.text.LayoutTest\#testPrimaryIsTrailingPrevious
Change-Id: I47157abe1d74675884734e3810628a566e40c1b4
2019-06-25 23:09:02 +00:00
Winson Chung
056fd40726 Merge "Catch all exceptions in onFrameDraw" into qt-dev am: cff24b878d
am: abe1a94072

Change-Id: I74089f0cf71ca2c3dc917001eb14dca8586396e0
2019-06-25 16:06:36 -07:00
Mihai Popa
71a0018948 Fix Layout.primaryIsTrailingPreviousAllLineOffsets
The CL fixes a crash in Layout.primaryIsTrailingPreviousAllLineOffsets.
The crash was happening when the method was called for a line beginning
with an empty bidi run. This could happen, for example, for empty text -
I was unable to find any other case. The CL improves the existing test
for the method with this case, which was previously crashing.

The CL also fixes a potential crash in getLineHorizontals. However, this
bug could never happen as in the current code path clamped is always
false (and kept as parameter for parity with getHorizontal).

Bug: 135444178
Test: atest FrameworksCoreTests:android.text.LayoutTest\#testPrimaryIsTrailingPrevious
Change-Id: I47157abe1d74675884734e3810628a566e40c1b4
2019-06-25 23:06:33 +00:00
Winson Chung
abe1a94072 Merge "Catch all exceptions in onFrameDraw" into qt-dev
am: cff24b878d

Change-Id: If3aef1ccbba89a4b0964749ee3184a83f88185be
2019-06-25 15:43:48 -07:00
Adam He
5ab9ecd701 Merge "Fixed autofill compat mode regression caused by DecorContext" into qt-dev am: 2f54cf120e
am: f44f4f9832

Change-Id: Ia24fdec8d709a36c7948e4e37ed55a9a1946e977
2019-06-25 15:39:47 -07:00
Winson Chung
26ccc92307 Merge "Catch all exceptions in onFrameDraw" into qt-dev
am: cff24b878d

Change-Id: I485cc8af4e6180adebb31235b43191e467b393bc
2019-06-25 15:36:26 -07:00
Felipe Leme
b769296531 Improved TimingsTraceLog performance by using arrays, instead of Deque of Pairs.
Test: manual verification
Test: atest FrameworksMockingCoreTests:android.util.TimingsTraceLogTest

Fixes: 135754571

Change-Id: I7a3571a422d09cd618f6610d3403a870af1ebafa
2019-06-25 15:34:02 -07:00
Adam He
209c597aba Merge "Fixed autofill compat mode regression caused by DecorContext" into qt-dev
am: 2f54cf120e

Change-Id: Idbb78b3f2455346d08370f189ad0289745f28a51
2019-06-25 15:17:19 -07:00
Winson Chung
cff24b878d Merge "Catch all exceptions in onFrameDraw" into qt-dev 2019-06-25 22:07:44 +00:00
Adam He
f44f4f9832 Merge "Fixed autofill compat mode regression caused by DecorContext" into qt-dev
am: 2f54cf120e

Change-Id: I74b50f6b2cb4d229c2f952da3848a5d0ecff88db
2019-06-25 15:02:21 -07:00
Michael Wright
82e696d5d3 Merge "Ignore DND when FLAG_BYPASS_INTERRUPTION_POLICY is set." into qt-r1-dev am: 3af0a7b5e5
am: 3a0f715588

Change-Id: I6b3b912c16b4a8419e5e9c98c443bbe2b8aa9b7a
2019-06-25 14:46:59 -07:00
TreeHugger Robot
2f54cf120e Merge "Fixed autofill compat mode regression caused by DecorContext" into qt-dev 2019-06-25 21:32:01 +00:00
Eugene Susla
057fd5fd0d [DO NOT MERGE] Don't throw from PooledLambdaImpl#toString am: 75632d616d
am: d6e398761e

Change-Id: I4f650c25bd38c6d3a21895623c0b4b6ef3d54b3b
2019-06-25 14:11:59 -07:00
Matt Pietal
9c9b26fba6 Merge "Sharesheet: Make max shortcut targets configurable" into qt-dev am: 8f09cd3de1
am: 9c9c561e8b

Change-Id: I1548b82c8363db4f35efcf468f84f5aa3a56f14d
2019-06-25 13:55:32 -07:00
Michael Wright
3a0f715588 Merge "Ignore DND when FLAG_BYPASS_INTERRUPTION_POLICY is set." into qt-r1-dev
am: 3af0a7b5e5

Change-Id: I4942abf90c783c67f0a32dbbc018a6a3e4d1c76e
2019-06-25 13:50:46 -07:00
Eugene Susla
d6e398761e [DO NOT MERGE] Don't throw from PooledLambdaImpl#toString
am: 75632d616d

Change-Id: I17ed8f194b6a197d674f7be1877f2775b2256960
2019-06-25 13:25:50 -07:00
Matt Pietal
9c9c561e8b Merge "Sharesheet: Make max shortcut targets configurable" into qt-dev
am: 8f09cd3de1

Change-Id: I64cabf37c16188c2fff8427f1ff6aab5a9d3ddb4
2019-06-25 13:12:35 -07:00
Eugene Susla
2fd77c3ce9 [DO NOT MERGE] Don't throw from PooledLambdaImpl#toString
am: 75632d616d

Change-Id: I74eb8dc3b62be5909e36bfd27154b98df625b139
2019-06-25 13:12:28 -07:00
Matt Pietal
6e97b7bd29 Merge "Sharesheet: Make max shortcut targets configurable" into qt-dev
am: 8f09cd3de1

Change-Id: I1a40f9ec9b9f196e1dd3b5eed077d0ec5dd730c7
2019-06-25 12:53:29 -07:00
Eugene Susla
224b4c761d Merge "[DO NOT MERGE] Don't throw from PooledLambdaImpl#toString" into qt-dev 2019-06-25 19:52:48 +00:00
TreeHugger Robot
3af0a7b5e5 Merge "Ignore DND when FLAG_BYPASS_INTERRUPTION_POLICY is set." into qt-r1-dev 2019-06-25 19:49:32 +00:00