OSDN Git Service

android-x86/frameworks-native.git
2 years agoSnap for 8060779 from 6f28d23f07e70a91157880b5c9d9423c388de92d to sc-v2-release
Android Build Coastguard Worker [Tue, 11 Jan 2022 00:06:38 +0000 (00:06 +0000)]
Snap for 8060779 from 6f28d23f07e70a91157880b5c9d9423c388de92d to sc-v2-release

Change-Id: I6a6467d5515bfae05384053e816c8fb8d363ffad

2 years agoMerge "Fix KeyCharacterMap overlays by reloading base overlay before applying another...
Philip Junker [Mon, 10 Jan 2022 17:04:44 +0000 (17:04 +0000)]
Merge "Fix KeyCharacterMap overlays by reloading base overlay before applying another overlay." into sc-v2-dev

2 years agoSnap for 8055317 from b6f8479039c1462a0f2e041d6376e3e208bbb70f to sc-v2-release
Android Build Coastguard Worker [Sat, 8 Jan 2022 02:06:30 +0000 (02:06 +0000)]
Snap for 8055317 from b6f8479039c1462a0f2e041d6376e3e208bbb70f to sc-v2-release

Change-Id: I7262d559ebece98f97357db12d77af68e6d40e2b

2 years agokeep a wp<BLASTBufferQueue> in BufferItemConsumer
Ady Abraham [Wed, 15 Dec 2021 19:58:56 +0000 (11:58 -0800)]
keep a wp<BLASTBufferQueue> in BufferItemConsumer

Use a wp<> instead of raw pointer and remove the mutex around it
to prevent potential deadlocks.

Bug: 208121127
Test: stress test by partner
Test: atest BLASTBufferQueueTest
Change-Id: Iffed80410aeffc9b724d5c01ca2ec589c9622990
Merged-In: Iffed80410aeffc9b724d5c01ca2ec589c9622990

2 years agoFix KeyCharacterMap overlays by reloading base overlay before applying another overlay.
Philip Junker [Fri, 10 Dec 2021 17:39:42 +0000 (18:39 +0100)]
Fix KeyCharacterMap overlays by reloading base overlay before applying another overlay.

Add all fields to parcel (mLoadFileName, mLayoutOverlayApplied, mKeysByScanCode, mKeysByUsageCode).
Add all fields to equality operator.
Add tests to libinput_tests.

Bug: 210090260
Test: Manually verified that layout changes correctly.
Test: atest libinput_tests
Change-Id: I1777b87e5c2ce8a0dbd42ad48748ea9e669c9139
(cherry picked from commit 90bc949048f2b91fa841cb8272381af8c301c055)

2 years agoSnap for 8045491 from aca25f60537453114bfe7f0f8587e551438ca7a5 to sc-v2-release
Android Build Coastguard Worker [Thu, 6 Jan 2022 00:16:03 +0000 (00:16 +0000)]
Snap for 8045491 from aca25f60537453114bfe7f0f8587e551438ca7a5 to sc-v2-release

Change-Id: I24dfbab144ef36a2aecaa1e49511ccef931b44e3

2 years agoDO NOT MERGE: BlastBufferQueue: Fake release if not received by complete
Robert Carr [Sat, 1 Jan 2022 00:59:34 +0000 (16:59 -0800)]
DO NOT MERGE: BlastBufferQueue: Fake release if not received by complete

Perfetto telemetry shows a cluster where the transactionComplete
callback is arriving but the release buffer callback is not arriving.
This leads to blocking and ANRs. We try to work around this by
generating a fake release buffer callback for previous buffers when we
receive a TransactionCompleteCallback. How can we know this is safe? The
criteria to safely release buffers are as follows:
Condition 1. SurfaceFlinger does not plan to use the buffer
Condition 2. Have the acquire fence (or a later signalling fence)if
dropped, have the HWC release fence if presented.
Now lets break down cases where the transaction complete callback
arrives before the release buffer callback. All release buffer callbacks
fall in to two categories:
Category 1. In band with the complete callback. In which case the client
library in SurfaceComposerClient always sends release callbacks
first.
Category 2. Out of band, e.g. from setBuffer or merge when dropping buffers

In category 2 there are two scenarios:
Scenario 1: Release callback was never going to arrive (bug)
Scenario 2. Release callback descheduled, e.g.
a. Transaction is filled with buffer and held in VRI/WM/SysUI
b. A second transaction with buffer is merged in, the release
buffer callback is emitted but not scheduled (async binder)
c. The merged transaction is applied
d. SurfaceFlinger processes a frame and emits the transaction
complete callback
e. The transaction complete callback is scheduled before the
release callback is ever scheduled (since the 1 way binders are
from different processes).
In both scenarios, we can satisfy Conditions 1 and 2, because the HWC
present fence is a later signalling fence than the acquire fence which
the out of band callback will pass. While we may block extra on this
fence. We will be safe by condition 2. Receiving the transaction
complete callback should indicate condition 1 is satisfied.

In category 1 there should only be a single scenario, the release buffer
callback for frame N-1 is emitted immediately before the transaction
callback for frame N, and so if it hasn't come at that time (and isn't
out of band/scheduled e.g. category 2) then it will never come. We can
further break this down in to two scenarios:
1. stat.previousReleaseFence is set correctly. This is the
expected case. In this case, this is the same fence we would
receive from the release buffer callback, and so we can satisfy
condition 1 and 2 and safely release.
2. stat.previousReleaseFence is not set correctly. There is no
known reason for this to happen, but there is also no known
reason why we would receive a complete callback without the
corresponding release, and so we have to explore the option as
a potential risk/behavior change from the change.
Hypothetically in category 1 case 2 we could experience some tearing.
In category 1 we are currently experiencing ANR, and so the tradeoff
is a risk of tearing vs a certainty of ANR. To tear the following would
have to happen:
1. Enter the case where we previously ANRed
2. Enter the subcase where the release fence is not set
correctly
3. Be scheduled very fast on the client side, in practicality
HWC present has already returned and the fence should be firing
very soon
4. The previous frame not be GL comp, in which case we were
already done with the buffer and don't need the fence anyway.
Conditions 2 and 3 should already make the occurence of tearing much
lower than the occurence of ANRs. Furthermore 100% of observed ANRs
were during GL comp (rotation animation) and so the telemetry indicates
the risk of introducing tearing is very low.

To review, we have shown that we can break down the side effects from the change in
to two buckets (category 1, and category 2). In category 2, the possible negative side
effect is to use too late of a fence. However this is still safe, and should
be exceedingly rare. In category 1 we have shown that there are two scenarios,
and in one of these scenarios we can experience tearing. We have furthermore argued
that the risk of tearing should be exceedingly low even in this scenario,
while the risk of ANR in this scenario was nearly 100%.

This issue is not appearing in git_master branches and so the DO_NOT_MERGE tag.

Bug: 197269223
Bug: 212846697
Test: Existing tests pass
Change-Id: I757ed132ac076aa811df816e04a68f57b38e47e7

2 years agoSnap for 8010657 from 22b6d239c14a65af4b60d15ade8517e768c5f2b3 to sc-v2-release
Android Build Coastguard Worker [Fri, 17 Dec 2021 00:07:22 +0000 (00:07 +0000)]
Snap for 8010657 from 22b6d239c14a65af4b60d15ade8517e768c5f2b3 to sc-v2-release

Change-Id: Ic95604381e986daff59e924c39c5c3014326d9a2

2 years agoBBQ: Capture initial destframe change from BBQ
Vishnu Nair [Tue, 7 Dec 2021 00:45:48 +0000 (16:45 -0800)]
BBQ: Capture initial destframe change from BBQ

Allow the caller to pass in a transaction that can
capture the initial destination frame changes. This
allows the caller to apply other destination frame
changes via BBQ#update in order.

Bug: 195443440
Test: atest BLASTBufferQueueTest
Test: repro steps from bug

Change-Id: Ibf53a0efdebb87291d081e48633c373a98d347b1
Merged-In: Ibf53a0efdebb87291d081e48633c373a98d347b1

2 years agoSnap for 7977275 from 40fbb638197f089ea4ba6a51eca1ec3124156d34 to sc-v2-release
Android Build Coastguard Worker [Wed, 8 Dec 2021 00:07:10 +0000 (00:07 +0000)]
Snap for 7977275 from 40fbb638197f089ea4ba6a51eca1ec3124156d34 to sc-v2-release

Change-Id: I484fe7893c8dbeaf7a6e6f5cb67667fc2423631a

2 years agoManually calculate stats for app owning external storage
Shikha Malhotra [Thu, 25 Nov 2021 10:52:50 +0000 (10:52 +0000)]
Manually calculate stats for app owning external storage

The stats are calculated using quota APIs for all the apps.
This is going wrong for the app owning external storage, as it includes
the external storage files also. The reason for that is the uid for the
external storage files and the app owning the external storage is the
same. Calculating the size manually avoids the problem.

Bug: 195804288
Test: atest StorageHostTest
Test: atest installd_service_test.cpp
Change-Id: I183c6997375b94dc02562bede03e3a15036efb6e
Ignore-AOSP-First: already submitted in AOSP
Merged-In: I183c6997375b94dc02562bede03e3a15036efb6e

2 years agoSnap for 7960322 from e9323b30ab14bad2a06a5cc67c326462cd11856b to sc-v2-release
Android Build Coastguard Worker [Thu, 2 Dec 2021 00:07:39 +0000 (00:07 +0000)]
Snap for 7960322 from e9323b30ab14bad2a06a5cc67c326462cd11856b to sc-v2-release

Change-Id: I7c489a9ed259f452b94ec09e18d02f555d6f7de2

2 years agoBLASTBufferQueue: Cap shadow queue size during sync
Robert Carr [Tue, 30 Nov 2021 22:47:02 +0000 (14:47 -0800)]
BLASTBufferQueue: Cap shadow queue size during sync

While waiting for the transaction commit callback on a previous
sync transaction BLASTBufferQueue will halt buffer processing to
ensure later frames do not arrive at SurfaceFlinger first. These
buffers wait in the shadow queue (tracked by mNumFrameAvailable)
to be acquired later. If we end up in a situation where all the
buffers are either in a sync transaction or in the shadow
queue then dequeue buffer will begin to block. This isn't
ideal, as dequeue buffer blocking can cause UI thread to block, aka
UI thread can block on RenderThread. However completing the
sync transaction (from a previous frame) can also depend on UI
thread, aka RenderThread can now block on UI thread (since
we need the transaction to apply in order to thaw the
shadow queue). In this CL we try and avoid that situation by
only keeping 1 frame in the shadow queue while waiting for the
sync to complete. If a second frame comes in we will acquire
and release the first before acquiring the second.

Bug: 200285149
Change-Id: I5072765e7b94820b3e66c557f5a96172ccef8172
Merged-In: I5072765e7b94820b3e66c557f5a96172ccef8172

2 years agoSnap for 7956453 from c54964d30cfac4c14c16477e8fea84783c24b55d to sc-v2-release
Android Build Coastguard Worker [Wed, 1 Dec 2021 00:07:38 +0000 (00:07 +0000)]
Snap for 7956453 from c54964d30cfac4c14c16477e8fea84783c24b55d to sc-v2-release

Change-Id: Ib2f2737161f95efd49ee43941d581c60c6428876

2 years agoMerge "Allow touch split enabled when no window touched" into sc-v2-dev
Arthur Hung [Tue, 30 Nov 2021 02:08:30 +0000 (02:08 +0000)]
Merge "Allow touch split enabled when no window touched" into sc-v2-dev

2 years agoMerge "Let touch region empty if the input bounds is empty" into sc-v2-dev
Arthur Hung [Tue, 30 Nov 2021 02:07:16 +0000 (02:07 +0000)]
Merge "Let touch region empty if the input bounds is empty" into sc-v2-dev

2 years agoSnap for 7952937 from f2cf7639a80206c43c83cf6076998b45f4feb24b to sc-v2-release
Android Build Coastguard Worker [Tue, 30 Nov 2021 00:07:13 +0000 (00:07 +0000)]
Snap for 7952937 from f2cf7639a80206c43c83cf6076998b45f4feb24b to sc-v2-release

Change-Id: Iea8c6feaff3595322af47d8fbda5f2160afbb297

2 years agoMerge "SF: Fix duplicate callbacks from mirrored layers" into sc-v2-dev
Vishnu Nair [Mon, 29 Nov 2021 19:47:44 +0000 (19:47 +0000)]
Merge "SF: Fix duplicate callbacks from mirrored layers" into sc-v2-dev

2 years agoMerge "Added getLastAcquiredFrameNum" into sc-v2-dev
Rob Carr [Mon, 29 Nov 2021 18:43:00 +0000 (18:43 +0000)]
Merge "Added getLastAcquiredFrameNum" into sc-v2-dev

2 years agoSF: Fix duplicate callbacks from mirrored layers
Vishnu Nair [Fri, 26 Nov 2021 17:24:11 +0000 (09:24 -0800)]
SF: Fix duplicate callbacks from mirrored layers

When cloning layers, we would also clone the layer's
callback handles which resulted in SF emitting duplicate
callbacks.

Test: presubmit
Test: launcher does not ANR when switching wallpapers with screen recording enabled
Bug: 205922358

Change-Id: Ic0435164f27d9bca7f80fc57d9021a9f544c936f

2 years agoAllow touch split enabled when no window touched
Arthur Hung [Tue, 16 Nov 2021 02:45:54 +0000 (02:45 +0000)]
Allow touch split enabled when no window touched

If no window can be touched by first touch down, it would still deliver
the event to the gesture monitor. So before gesture monitor pilfer the
touch, if a new window supports split touch, it can't recevied the new
point down event cause device looks unresponsive.

Test: atest inputflinger_test
Bug: 201647070
Change-Id: Ib0734ef7082bf673afb11eef9ec7bdb0b3f103ec
(cherry picked from commit fbfa572245e430392f779edbb01b3b18e1b2ed82)
Merged-In: Ib0734ef7082bf673afb11eef9ec7bdb0b3f103ec

2 years agoSnap for 7944517 from 3316c9775acab304c5f790b6fa48a576563b7bcc to sc-v2-release
Android Build Coastguard Worker [Thu, 25 Nov 2021 00:07:18 +0000 (00:07 +0000)]
Snap for 7944517 from 3316c9775acab304c5f790b6fa48a576563b7bcc to sc-v2-release

Change-Id: I02b584cebf502e052eac0ea1c9cfe1f6826633dc

2 years agoAdded getLastAcquiredFrameNum
chaviw [Fri, 20 Aug 2021 17:00:47 +0000 (12:00 -0500)]
Added getLastAcquiredFrameNum

This will allow VRI to ask BBQ what buffer was actually acquired on the
last draw.

Test: blast sync
Bug: 195262673
Bug: 193634619
Change-Id: I492651e8e6d333ef11b682cec939d81057ae197d
Merged-In: I492651e8e6d333ef11b682cec939d81057ae197d

2 years agoMerge "Only add commit callback when using sync transaction" into sc-v2-dev
Chavi Weingarten [Tue, 23 Nov 2021 19:13:58 +0000 (19:13 +0000)]
Merge "Only add commit callback when using sync transaction" into sc-v2-dev

2 years agoOnly add commit callback when using sync transaction
chaviw [Wed, 17 Nov 2021 23:36:50 +0000 (17:36 -0600)]
Only add commit callback when using sync transaction

There's no need to add a commit callback when we're not syncing since
the callback won't actually do anything. Instead only add a commit
callback when a sync transaction has been requested.

Test: BLASTBufferQueueTest
Bug: 205278630
Change-Id: Ib7345f2581b6e4ce8923531aebcd457c14d86027
Merged-In: Ib7345f2581b6e4ce8923531aebcd457c14d86027

2 years agoLet touch region empty if the input bounds is empty
Arthur Hung [Fri, 19 Nov 2021 15:11:51 +0000 (15:11 +0000)]
Let touch region empty if the input bounds is empty

If the input bounds is empty, we should let the touch region empty so
it could prevent receiving touch without valid bounds.

Bug: 204747595
Test: atest InputSurfacesTest
Change-Id: Iee59c437a084ca9db6936af7a4852190169518d9

2 years agoSnap for 7932843 from 11595687cb64ef66b390deaf9aca9f891423afd5 to sc-v2-release
Android Build Coastguard Worker [Sat, 20 Nov 2021 02:07:02 +0000 (02:07 +0000)]
Snap for 7932843 from 11595687cb64ef66b390deaf9aca9f891423afd5 to sc-v2-release

Change-Id: Ida57218cded173b095272949572e9c82edb5ecea

2 years agoMerge "Merge color property in a transaction" into sc-v2-dev
Chavi Weingarten [Thu, 18 Nov 2021 21:01:34 +0000 (21:01 +0000)]
Merge "Merge color property in a transaction" into sc-v2-dev

2 years agoMerge color property in a transaction
chaviw [Thu, 18 Nov 2021 16:37:33 +0000 (10:37 -0600)]
Merge color property in a transaction

The LayerState.merge code didn't have colors getting merged

Test: Builds
Fixes: 206341593
Change-Id: Ic2721242c772099802f635f8019cb3b7a24d6c90

2 years agoSnap for 7921329 from 2731fe5378813950162c69d91ae865d8e54f1cdb to sc-v2-release
Android Build Coastguard Worker [Wed, 17 Nov 2021 00:06:27 +0000 (00:06 +0000)]
Snap for 7921329 from 2731fe5378813950162c69d91ae865d8e54f1cdb to sc-v2-release

Change-Id: I0872570e96bbc2bd81420f9d2795cfc5cf013ea3

2 years agoMerge "SF: reset idle state when RefreshRateConfigs changes" into sc-v2-dev
TreeHugger Robot [Tue, 16 Nov 2021 17:57:19 +0000 (17:57 +0000)]
Merge "SF: reset idle state when RefreshRateConfigs changes" into sc-v2-dev

2 years agoSF: reset idle state when RefreshRateConfigs changes
Ady Abraham [Thu, 11 Nov 2021 03:46:09 +0000 (19:46 -0800)]
SF: reset idle state when RefreshRateConfigs changes

RefreshRateConfigs calls back into Scheduler for updating the idle timer.
When RefreshRateConfigs changes as a result of the active display changed,
we need to stop the idle timer on the old RefreshRateConfigs and reset
Scheduler's state.

Bug: 205664808
Test: manual using below steps
1. Boot device on unfold state
2. Fold device
3. Unfold device
4. Launch Chrome from taskbar

Change-Id: I554fe2b2447c0ad662f06329ff74e0b9b3e999b3

2 years agoReconnect to all hidl sensors HALs
Arthur Ishiguro [Sat, 13 Nov 2021 00:16:49 +0000 (00:16 +0000)]
Reconnect to all hidl sensors HALs

Fixes: 206162862
Test: Restart sensors HAL and verify resume
Change-Id: Iba93246a30565783a0634a9a0cd966a7ccf841d3

2 years agoSnap for 7911557 from ec44a3c41ba2555ca1ca80c672a22361ce72a967 to sc-v2-release
Android Build Coastguard Worker [Sat, 13 Nov 2021 02:06:45 +0000 (02:06 +0000)]
Snap for 7911557 from ec44a3c41ba2555ca1ca80c672a22361ce72a967 to sc-v2-release

Change-Id: If0c2f887c7c65960dd19c622ea37cad716e44d98

2 years ago[automerger skipped] Check if the window is partially obscured for slippery enters...
Siarhei Vishniakou [Thu, 11 Nov 2021 19:59:36 +0000 (19:59 +0000)]
[automerger skipped] Check if the window is partially obscured for slippery enters am: 6e689ffe3f am: 224d576c0b am: e26b6061f8 -s ours am: eb59e4756d -s ours am: 1140211821 -s ours am: 26cd8a07cf -s ours am: 41a8b01966 -s ours

am skip reason: Merged-In I93d9681479f41244ffed4b1f88cceb69be71adf2 with SHA-1 d8c6ef2138 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16185286

Change-Id: Id48d349bc696cc7fcfd9441f168ad2eacea6a081

2 years ago[automerger skipped] Merge "Check if the window is partially obscured for slippery...
TreeHugger Robot [Thu, 11 Nov 2021 19:59:22 +0000 (19:59 +0000)]
[automerger skipped] Merge "Check if the window is partially obscured for slippery enters" into rvc-dev am: b27497c4bf am: 58c22be797 -s ours am: fe2d5a037e -s ours am: 85ed00c88a -s ours

am skip reason: Merged-In I93d9681479f41244ffed4b1f88cceb69be71adf2 with SHA-1 6e689ffe3f is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16194632

Change-Id: I48356a61dd15c9c57a7b4288b59275d08947b634

2 years ago[automerger skipped] Merge changes from topic "trusted_overlay_backport" into rvc...
Winson Chung [Thu, 11 Nov 2021 19:58:51 +0000 (19:58 +0000)]
[automerger skipped] Merge changes from topic "trusted_overlay_backport" into rvc-dev am: 294e7b87e3 am: 90b88a978e -s ours am: cb15467837 -s ours am: dae1a991ec -s ours

am skip reason: Merged-In I75be2b1d305e22f8a71532b9f5b8ea6c469baaaa with SHA-1 41f48c7b10 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16224510

Change-Id: I8fbf490d4aa9c0091a4b9755e3d4f8470bbabe06

2 years ago[automerger skipped] DO NOT MERGE Initialize DrawingState::trustedOverlay to false...
Robin Lee [Thu, 11 Nov 2021 19:58:51 +0000 (19:58 +0000)]
[automerger skipped] DO NOT MERGE Initialize DrawingState::trustedOverlay to false in constructor am: 41f48c7b10 am: 8c3de17e5d -s ours am: 03179cb3c9 -s ours am: 9761aa718c -s ours

am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975349

Change-Id: Iaffe2cf1b931b6ba4cfd04218dce179b822ab349

2 years ago[automerger skipped] Add mechanism for a task's windows to be trusted overlays (SF...
Winson Chung [Thu, 11 Nov 2021 19:58:50 +0000 (19:58 +0000)]
[automerger skipped] Add mechanism for a task's windows to be trusted overlays (SF) am: 7605fb4273 am: cac2aa7517 -s ours am: 10b892cda2 -s ours am: d3962fdc82 -s ours

am skip reason: Merged-In Id92ccb087bd0d8dbaeeef3ba50b67fe015e53db8 with SHA-1 7605fb4273 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975348

Change-Id: I45c767eb9cce3b9f94fb88a7b48c231e3a501a20

2 years ago[automerger skipped] Change InputWindowInfo::isTrustedOverlay() to be permission...
Chris Ye [Thu, 11 Nov 2021 19:58:49 +0000 (19:58 +0000)]
[automerger skipped] Change InputWindowInfo::isTrustedOverlay() to be permission and flag based. am: 39bc6117dd am: 020dd044a6 -s ours am: 5d53e37fe0 -s ours am: 6baa59fcbf -s ours

am skip reason: Merged-In I58cf9f38c496e0ae8b2193dca45c0805e831bc9e with SHA-1 39bc6117dd is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975347

Change-Id: I1d1a87381dff68329f1d768f4a7274f1510a6201

2 years ago[automerger skipped] Check if the window is partially obscured for slippery enters...
Siarhei Vishniakou [Thu, 11 Nov 2021 19:41:32 +0000 (19:41 +0000)]
[automerger skipped] Check if the window is partially obscured for slippery enters am: 6e689ffe3f am: 224d576c0b am: e26b6061f8 -s ours am: eb59e4756d -s ours am: 1140211821 -s ours am: 26cd8a07cf -s ours

am skip reason: Merged-In I93d9681479f41244ffed4b1f88cceb69be71adf2 with SHA-1 d8c6ef2138 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16185286

Change-Id: I5ceb7a6cf7fb4eec6bd1f3df3a2560cdf96eaae6

2 years ago[automerger skipped] Merge "Check if the window is partially obscured for slippery...
TreeHugger Robot [Thu, 11 Nov 2021 19:41:07 +0000 (19:41 +0000)]
[automerger skipped] Merge "Check if the window is partially obscured for slippery enters" into rvc-dev am: b27497c4bf am: 58c22be797 -s ours am: fe2d5a037e -s ours

am skip reason: Merged-In I93d9681479f41244ffed4b1f88cceb69be71adf2 with SHA-1 6e689ffe3f is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16194632

Change-Id: I97da34f4e5ff4a4a36cefcbfae46c894448d4247

2 years ago[automerger skipped] Merge changes from topic "trusted_overlay_backport" into rvc...
Winson Chung [Thu, 11 Nov 2021 19:40:54 +0000 (19:40 +0000)]
[automerger skipped] Merge changes from topic "trusted_overlay_backport" into rvc-dev am: 294e7b87e3 am: 90b88a978e -s ours am: cb15467837 -s ours

am skip reason: Merged-In I75be2b1d305e22f8a71532b9f5b8ea6c469baaaa with SHA-1 41f48c7b10 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16224510

Change-Id: I3c9bba42b2f9b989b0cc2d2b91b3a3e938918752

2 years ago[automerger skipped] DO NOT MERGE Initialize DrawingState::trustedOverlay to false...
Robin Lee [Thu, 11 Nov 2021 19:40:53 +0000 (19:40 +0000)]
[automerger skipped] DO NOT MERGE Initialize DrawingState::trustedOverlay to false in constructor am: 41f48c7b10 am: 8c3de17e5d -s ours am: 03179cb3c9 -s ours

am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975349

Change-Id: Iee441e740817d95a7033c96d6134c6a3beec554b

2 years ago[automerger skipped] Add mechanism for a task's windows to be trusted overlays (SF...
Winson Chung [Thu, 11 Nov 2021 19:40:52 +0000 (19:40 +0000)]
[automerger skipped] Add mechanism for a task's windows to be trusted overlays (SF) am: 7605fb4273 am: cac2aa7517 -s ours am: 10b892cda2 -s ours

am skip reason: Merged-In Id92ccb087bd0d8dbaeeef3ba50b67fe015e53db8 with SHA-1 7605fb4273 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975348

Change-Id: Ie083bcf7b9c50a6f43c5937896cf19c47a5ca6b2

2 years ago[automerger skipped] Change InputWindowInfo::isTrustedOverlay() to be permission...
Chris Ye [Thu, 11 Nov 2021 19:40:51 +0000 (19:40 +0000)]
[automerger skipped] Change InputWindowInfo::isTrustedOverlay() to be permission and flag based. am: 39bc6117dd am: 020dd044a6 -s ours am: 5d53e37fe0 -s ours

am skip reason: Merged-In I58cf9f38c496e0ae8b2193dca45c0805e831bc9e with SHA-1 39bc6117dd is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975347

Change-Id: I7fd0f5006851287307c7e1059ad5e2893c5c19dc

2 years ago[automerger skipped] Check if the window is partially obscured for slippery enters...
Siarhei Vishniakou [Thu, 11 Nov 2021 19:24:04 +0000 (19:24 +0000)]
[automerger skipped] Check if the window is partially obscured for slippery enters am: 6e689ffe3f am: 224d576c0b am: e26b6061f8 -s ours am: eb59e4756d -s ours am: 1140211821 -s ours

am skip reason: Merged-In I93d9681479f41244ffed4b1f88cceb69be71adf2 with SHA-1 d8c6ef2138 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16185286

Change-Id: I99b3e2cf96520e8d2e7ee37314e37c20ea6af53e

2 years ago[automerger skipped] Merge "Check if the window is partially obscured for slippery...
TreeHugger Robot [Thu, 11 Nov 2021 19:22:47 +0000 (19:22 +0000)]
[automerger skipped] Merge "Check if the window is partially obscured for slippery enters" into rvc-dev am: b27497c4bf am: 58c22be797 -s ours

am skip reason: Merged-In I93d9681479f41244ffed4b1f88cceb69be71adf2 with SHA-1 6e689ffe3f is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16194632

Change-Id: I41bd81a055cfb319c650f15672b55d2b678037eb

2 years ago[automerger skipped] Merge changes from topic "trusted_overlay_backport" into rvc...
Winson Chung [Thu, 11 Nov 2021 19:21:53 +0000 (19:21 +0000)]
[automerger skipped] Merge changes from topic "trusted_overlay_backport" into rvc-dev am: 294e7b87e3 am: 90b88a978e -s ours

am skip reason: Merged-In I75be2b1d305e22f8a71532b9f5b8ea6c469baaaa with SHA-1 41f48c7b10 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16224510

Change-Id: I078c2d9eecb9e153824cd7ea381d2245c29bbd4d

2 years ago[automerger skipped] DO NOT MERGE Initialize DrawingState::trustedOverlay to false...
Robin Lee [Thu, 11 Nov 2021 19:21:52 +0000 (19:21 +0000)]
[automerger skipped] DO NOT MERGE Initialize DrawingState::trustedOverlay to false in constructor am: 41f48c7b10 am: 8c3de17e5d -s ours

am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975349

Change-Id: I1fffbc8a266f26abfdda0d7965e8001ea24b6808

2 years ago[automerger skipped] Add mechanism for a task's windows to be trusted overlays (SF...
Winson Chung [Thu, 11 Nov 2021 19:21:50 +0000 (19:21 +0000)]
[automerger skipped] Add mechanism for a task's windows to be trusted overlays (SF) am: 7605fb4273 am: cac2aa7517 -s ours

am skip reason: Merged-In Id92ccb087bd0d8dbaeeef3ba50b67fe015e53db8 with SHA-1 7605fb4273 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975348

Change-Id: Iddcca623eda377c55b3f2106b5122be428936f1f

2 years ago[automerger skipped] Change InputWindowInfo::isTrustedOverlay() to be permission...
Chris Ye [Thu, 11 Nov 2021 19:21:47 +0000 (19:21 +0000)]
[automerger skipped] Change InputWindowInfo::isTrustedOverlay() to be permission and flag based. am: 39bc6117dd am: 020dd044a6 -s ours

am skip reason: Merged-In I58cf9f38c496e0ae8b2193dca45c0805e831bc9e with SHA-1 39bc6117dd is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975347

Change-Id: Iac9f5d211d7ab954ab94d8824917b621044f3d54

2 years ago[automerger skipped] Check if the window is partially obscured for slippery enters...
Siarhei Vishniakou [Thu, 11 Nov 2021 19:00:18 +0000 (19:00 +0000)]
[automerger skipped] Check if the window is partially obscured for slippery enters am: 6e689ffe3f am: 224d576c0b am: e26b6061f8 -s ours am: eb59e4756d -s ours

am skip reason: Merged-In I93d9681479f41244ffed4b1f88cceb69be71adf2 with SHA-1 d8c6ef2138 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16185286

Change-Id: I8b68787e525e7e96214fd5865d529aa1fbda8ec1

2 years agoMerge "Check if the window is partially obscured for slippery enters" into rvc-dev...
TreeHugger Robot [Thu, 11 Nov 2021 18:58:55 +0000 (18:58 +0000)]
Merge "Check if the window is partially obscured for slippery enters" into rvc-dev am: b27497c4bf

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16194632

Change-Id: I64d40d85f97fcc59f9061f73044dead69a58fdaa

2 years agoMerge changes from topic "trusted_overlay_backport" into rvc-dev am: 294e7b87e3
Winson Chung [Tue, 9 Nov 2021 23:18:53 +0000 (23:18 +0000)]
Merge changes from topic "trusted_overlay_backport" into rvc-dev am: 294e7b87e3

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975349

Bug: 196389741
Change-Id: I96eb392e3ace659305cccb2773ab715f6cc67eea
Merged-In: I75be2b1d305e22f8a71532b9f5b8ea6c469baaaa

2 years agoSnap for 7901872 from 4baf05042d78bf558120b10c807d124afb3f88f5 to sc-v2-release
Android Build Coastguard Worker [Thu, 11 Nov 2021 00:07:02 +0000 (00:07 +0000)]
Snap for 7901872 from 4baf05042d78bf558120b10c807d124afb3f88f5 to sc-v2-release

Change-Id: Id87837990addacd13c942e5c4b3022fe6cddef10

2 years ago[automerger skipped] Check if the window is partially obscured for slippery enters...
Siarhei Vishniakou [Wed, 10 Nov 2021 04:07:40 +0000 (04:07 +0000)]
[automerger skipped] Check if the window is partially obscured for slippery enters am: 6e689ffe3f am: 224d576c0b am: e26b6061f8 -s ours am: eb59e4756d -s ours am: 8c83865531 -s ours am: 4986d714bf -s ours am: 67efbd2880 -s ours

am skip reason: Merged-In I93d9681479f41244ffed4b1f88cceb69be71adf2 with SHA-1 d8c6ef2138 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16185286

Change-Id: Iff4bd828b9e97162721b59a8cedb4cea693b35ef

2 years ago[automerger skipped] Check if the window is partially obscured for slippery enters...
Siarhei Vishniakou [Wed, 10 Nov 2021 03:51:02 +0000 (03:51 +0000)]
[automerger skipped] Check if the window is partially obscured for slippery enters am: 6e689ffe3f am: 224d576c0b am: e26b6061f8 -s ours am: eb59e4756d -s ours am: 8c83865531 -s ours am: 4986d714bf -s ours

am skip reason: Merged-In I93d9681479f41244ffed4b1f88cceb69be71adf2 with SHA-1 d8c6ef2138 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16185286

Change-Id: I00e050a7cc2d62aebb628cb2daa19596c41d6171

2 years ago[automerger skipped] Check if the window is partially obscured for slippery enters...
Siarhei Vishniakou [Wed, 10 Nov 2021 03:31:46 +0000 (03:31 +0000)]
[automerger skipped] Check if the window is partially obscured for slippery enters am: 6e689ffe3f am: 224d576c0b am: e26b6061f8 -s ours am: eb59e4756d -s ours am: 8c83865531 -s ours

am skip reason: Merged-In I93d9681479f41244ffed4b1f88cceb69be71adf2 with SHA-1 d8c6ef2138 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16185286

Change-Id: Ie6d4c961e9f95da4f0acbe6cd4665e1fc757f0b7

2 years ago[automerger skipped] Check if the window is partially obscured for slippery enters...
Siarhei Vishniakou [Wed, 10 Nov 2021 03:19:04 +0000 (03:19 +0000)]
[automerger skipped] Check if the window is partially obscured for slippery enters am: 6e689ffe3f am: 224d576c0b am: e26b6061f8 -s ours am: eb59e4756d -s ours

am skip reason: Merged-In I93d9681479f41244ffed4b1f88cceb69be71adf2 with SHA-1 d8c6ef2138 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16185286

Change-Id: Ic4e82083fcc577c808292d6ae76c5d4e072e9c89

2 years ago[automerger skipped] Check if the window is partially obscured for slippery enters...
Siarhei Vishniakou [Wed, 10 Nov 2021 03:06:07 +0000 (03:06 +0000)]
[automerger skipped] Check if the window is partially obscured for slippery enters am: 6e689ffe3f am: 224d576c0b am: e26b6061f8 -s ours

am skip reason: Merged-In I93d9681479f41244ffed4b1f88cceb69be71adf2 with SHA-1 d8c6ef2138 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16185286

Change-Id: I3fa807e2a5e61dfad45b5e27e3116e9e64338c8b

2 years agoCheck if the window is partially obscured for slippery enters am: 6e689ffe3f am:...
Siarhei Vishniakou [Wed, 10 Nov 2021 02:55:28 +0000 (02:55 +0000)]
Check if the window is partially obscured for slippery enters am: 6e689ffe3f am: 224d576c0b

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16185286

Change-Id: I49fb56b83a8799ac6a380b269bca06adc5289aba

2 years agoCheck if the window is partially obscured for slippery enters am: 6e689ffe3f
Siarhei Vishniakou [Wed, 10 Nov 2021 02:44:01 +0000 (02:44 +0000)]
Check if the window is partially obscured for slippery enters am: 6e689ffe3f

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16185286

Change-Id: I6645db77a493d55aacc8f645db625ea5f89a8d36

2 years ago[automerger skipped] Merge "Check if the window is partially obscured for slippery...
TreeHugger Robot [Wed, 10 Nov 2021 01:26:42 +0000 (01:26 +0000)]
[automerger skipped] Merge "Check if the window is partially obscured for slippery enters" into rvc-dev am: b27497c4bf am: 1158690bb7 -s ours am: 56b929e3e7 -s ours am: 17ec686b0c -s ours

am skip reason: Merged-In I93d9681479f41244ffed4b1f88cceb69be71adf2 with SHA-1 870ececa8d is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16194632

Change-Id: If140b949b86057c71f482a04ace76f70e1cebe6a

2 years ago[automerger skipped] Merge "Check if the window is partially obscured for slippery...
TreeHugger Robot [Wed, 10 Nov 2021 01:06:24 +0000 (01:06 +0000)]
[automerger skipped] Merge "Check if the window is partially obscured for slippery enters" into rvc-dev am: b27497c4bf am: 1158690bb7 -s ours am: 56b929e3e7 -s ours

am skip reason: Merged-In I93d9681479f41244ffed4b1f88cceb69be71adf2 with SHA-1 870ececa8d is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16194632

Change-Id: Iff92d8b7d7cae9f6d4c4527f2d65f89742fef26b

2 years agoMerge changes from topic "trusted_overlay_backport" into rvc-dev am: 294e7b87e3 am...
Winson Chung [Wed, 10 Nov 2021 00:44:07 +0000 (00:44 +0000)]
Merge changes from topic "trusted_overlay_backport" into rvc-dev am: 294e7b87e3 am: e93bd77429 am: f13c62852e am: 7c2f24b284

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975349

Change-Id: I28025893f506121b09cd83d0fec20ad77d423c18

2 years ago[automerger skipped] DO NOT MERGE Initialize DrawingState::trustedOverlay to false...
Robin Lee [Wed, 10 Nov 2021 00:44:06 +0000 (00:44 +0000)]
[automerger skipped] DO NOT MERGE Initialize DrawingState::trustedOverlay to false in constructor am: 41f48c7b10 am: cf8e45638d -s ours am: 6b44d942a9 -s ours am: 4d6cce1f13 -s ours

am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975349

Change-Id: I1d7202453bc6a95b29be0658935a37e291b258c6

2 years ago[automerger skipped] Add mechanism for a task's windows to be trusted overlays (SF...
Winson Chung [Wed, 10 Nov 2021 00:44:06 +0000 (00:44 +0000)]
[automerger skipped] Add mechanism for a task's windows to be trusted overlays (SF) am: 7605fb4273 am: 4df1658eda -s ours am: ede8f4d536 -s ours am: c4b83bacd6 -s ours

am skip reason: Merged-In Id92ccb087bd0d8dbaeeef3ba50b67fe015e53db8 with SHA-1 a30f7c9974 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975348

Change-Id: I85e1f2d7c00ad4bbf9bdb0b5e8d271697de1d118

2 years ago[automerger skipped] Change InputWindowInfo::isTrustedOverlay() to be permission...
Chris Ye [Wed, 10 Nov 2021 00:44:05 +0000 (00:44 +0000)]
[automerger skipped] Change InputWindowInfo::isTrustedOverlay() to be permission and flag based. am: 39bc6117dd am: 8bec11e493 -s ours am: 139309f468 -s ours am: aeb77c0bee -s ours

am skip reason: Merged-In I58cf9f38c496e0ae8b2193dca45c0805e831bc9e with SHA-1 fcdff3e735 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975347

Change-Id: If1fa8889d6d3de49830dd28eff61b270ec4e3c5c

2 years ago[automerger skipped] avoid extra release of unowned objects in Parcel error path...
Steven Moreland [Wed, 10 Nov 2021 00:43:41 +0000 (00:43 +0000)]
[automerger skipped] avoid extra release of unowned objects in Parcel error path am: d668098e47 am: 41db1b0e7c -s ours am: c4fe8c2478 -s ours am: 5c32ca5dfc -s ours

am skip reason: Merged-In I34411675687cb3d18bffa082984ebdf308e1c1a6 with SHA-1 d668098e47 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16177016

Change-Id: I89938a9f28647c2436e7e397c45841c04fcec4a0

2 years ago[automerger skipped] avoid extra release of unowned objects in Parcel error path...
Steven Moreland [Wed, 10 Nov 2021 00:43:14 +0000 (00:43 +0000)]
[automerger skipped] avoid extra release of unowned objects in Parcel error path am: d668098e47 am: d471beffd1 -s ours am: 57380b88ba -s ours am: fb6c7fc94f -s ours

am skip reason: Merged-In I34411675687cb3d18bffa082984ebdf308e1c1a6 with SHA-1 7c8497e012 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16177016

Change-Id: Ic99a1fd0117a376cbd1be87ec622807819027a5d

2 years ago[automerger skipped] Merge "Check if the window is partially obscured for slippery...
TreeHugger Robot [Wed, 10 Nov 2021 00:41:53 +0000 (00:41 +0000)]
[automerger skipped] Merge "Check if the window is partially obscured for slippery enters" into rvc-dev am: b27497c4bf am: 1158690bb7 -s ours

am skip reason: Merged-In I93d9681479f41244ffed4b1f88cceb69be71adf2 with SHA-1 870ececa8d is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16194632

Change-Id: I58801fbec843c7c1e09fa9f0a51eed9c8225c839

2 years agoMerge changes from topic "trusted_overlay_backport" into rvc-dev am: 294e7b87e3 am...
Winson Chung [Wed, 10 Nov 2021 00:19:22 +0000 (00:19 +0000)]
Merge changes from topic "trusted_overlay_backport" into rvc-dev am: 294e7b87e3 am: e93bd77429 am: f13c62852e

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975349

Change-Id: Iff1f45324e088239c71593777e4d521ea6f4937a

2 years ago[automerger skipped] DO NOT MERGE Initialize DrawingState::trustedOverlay to false...
Robin Lee [Wed, 10 Nov 2021 00:19:22 +0000 (00:19 +0000)]
[automerger skipped] DO NOT MERGE Initialize DrawingState::trustedOverlay to false in constructor am: 41f48c7b10 am: cf8e45638d -s ours am: 6b44d942a9 -s ours

am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975349

Change-Id: I01a1a627578e8c95f6ffe8da07cc04a04129a46e

2 years ago[automerger skipped] Add mechanism for a task's windows to be trusted overlays (SF...
Winson Chung [Wed, 10 Nov 2021 00:19:21 +0000 (00:19 +0000)]
[automerger skipped] Add mechanism for a task's windows to be trusted overlays (SF) am: 7605fb4273 am: 4df1658eda -s ours am: ede8f4d536 -s ours

am skip reason: Merged-In Id92ccb087bd0d8dbaeeef3ba50b67fe015e53db8 with SHA-1 a30f7c9974 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975348

Change-Id: I6f9bb604284a68e4feeefca0e384b2f6f600d850

2 years ago[automerger skipped] Change InputWindowInfo::isTrustedOverlay() to be permission...
Chris Ye [Wed, 10 Nov 2021 00:19:20 +0000 (00:19 +0000)]
[automerger skipped] Change InputWindowInfo::isTrustedOverlay() to be permission and flag based. am: 39bc6117dd am: 8bec11e493 -s ours am: 139309f468 -s ours

am skip reason: Merged-In I58cf9f38c496e0ae8b2193dca45c0805e831bc9e with SHA-1 fcdff3e735 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975347

Change-Id: I1b2cf100831a8535b497ae4fa685231ba9876b1b

2 years ago[automerger skipped] avoid extra release of unowned objects in Parcel error path...
Steven Moreland [Wed, 10 Nov 2021 00:18:58 +0000 (00:18 +0000)]
[automerger skipped] avoid extra release of unowned objects in Parcel error path am: d668098e47 am: 41db1b0e7c -s ours am: c4fe8c2478 -s ours

am skip reason: Merged-In I34411675687cb3d18bffa082984ebdf308e1c1a6 with SHA-1 d668098e47 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16177016

Change-Id: I904d09f651f803ac1839cbab27b9a91936e8e133

2 years ago[automerger skipped] avoid extra release of unowned objects in Parcel error path...
Steven Moreland [Wed, 10 Nov 2021 00:18:41 +0000 (00:18 +0000)]
[automerger skipped] avoid extra release of unowned objects in Parcel error path am: d668098e47 am: d471beffd1 -s ours am: 57380b88ba -s ours

am skip reason: Merged-In I34411675687cb3d18bffa082984ebdf308e1c1a6 with SHA-1 7c8497e012 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16177016

Change-Id: I8fd02cbeeae4a7e90fce6f3f718ad641bc4ce875

2 years agoMerge "Check if the window is partially obscured for slippery enters" into rvc-dev...
TreeHugger Robot [Wed, 10 Nov 2021 00:18:34 +0000 (00:18 +0000)]
Merge "Check if the window is partially obscured for slippery enters" into rvc-dev am: b27497c4bf

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16194632

Change-Id: I597107cf0a85b6dbc73dcc4092d3c077d678e661

2 years agoMerge "Check if the window is partially obscured for slippery enters" into rvc-dev
TreeHugger Robot [Tue, 9 Nov 2021 23:53:32 +0000 (23:53 +0000)]
Merge "Check if the window is partially obscured for slippery enters" into rvc-dev

2 years agoMerge changes from topic "trusted_overlay_backport" into rvc-dev am: 294e7b87e3 am...
Winson Chung [Tue, 9 Nov 2021 23:42:36 +0000 (23:42 +0000)]
Merge changes from topic "trusted_overlay_backport" into rvc-dev am: 294e7b87e3 am: e93bd77429

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975349

Change-Id: I48c83881683865b1b9d1de1d4a63531a84112cf6

2 years ago[automerger skipped] DO NOT MERGE Initialize DrawingState::trustedOverlay to false...
Robin Lee [Tue, 9 Nov 2021 23:42:34 +0000 (23:42 +0000)]
[automerger skipped] DO NOT MERGE Initialize DrawingState::trustedOverlay to false in constructor am: 41f48c7b10 am: cf8e45638d -s ours

am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975349

Change-Id: I5359f45577d476b0fe0d14367b046bee00e64f7e

2 years ago[automerger skipped] Add mechanism for a task's windows to be trusted overlays (SF...
Winson Chung [Tue, 9 Nov 2021 23:42:31 +0000 (23:42 +0000)]
[automerger skipped] Add mechanism for a task's windows to be trusted overlays (SF) am: 7605fb4273 am: 4df1658eda -s ours

am skip reason: Merged-In Id92ccb087bd0d8dbaeeef3ba50b67fe015e53db8 with SHA-1 a30f7c9974 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975348

Change-Id: Ifa92f0a463c513896f4ffa417a65002d89847be8

2 years ago[automerger skipped] Change InputWindowInfo::isTrustedOverlay() to be permission...
Chris Ye [Tue, 9 Nov 2021 23:42:30 +0000 (23:42 +0000)]
[automerger skipped] Change InputWindowInfo::isTrustedOverlay() to be permission and flag based. am: 39bc6117dd am: 8bec11e493 -s ours

am skip reason: Merged-In I58cf9f38c496e0ae8b2193dca45c0805e831bc9e with SHA-1 fcdff3e735 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975347

Change-Id: I19e8bd2cdbacdd8f15c400e047f744927934b52e

2 years ago[automerger skipped] avoid extra release of unowned objects in Parcel error path...
Steven Moreland [Tue, 9 Nov 2021 23:41:50 +0000 (23:41 +0000)]
[automerger skipped] avoid extra release of unowned objects in Parcel error path am: d668098e47 am: 41db1b0e7c -s ours

am skip reason: Merged-In I34411675687cb3d18bffa082984ebdf308e1c1a6 with SHA-1 d668098e47 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16177016

Change-Id: I4eb1f071d3e5556e0a34a3b64c7e7b11f6a391bc

2 years ago[automerger skipped] avoid extra release of unowned objects in Parcel error path...
Steven Moreland [Tue, 9 Nov 2021 23:40:51 +0000 (23:40 +0000)]
[automerger skipped] avoid extra release of unowned objects in Parcel error path am: d668098e47 am: d471beffd1 -s ours

am skip reason: Merged-In I34411675687cb3d18bffa082984ebdf308e1c1a6 with SHA-1 7c8497e012 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16177016

Change-Id: I3c25c7887fefde636fc6b2e29c2baca0ef85d52d

2 years agoMerge changes from topic "trusted_overlay_backport" into rvc-dev am: 294e7b87e3
Winson Chung [Tue, 9 Nov 2021 23:21:01 +0000 (23:21 +0000)]
Merge changes from topic "trusted_overlay_backport" into rvc-dev am: 294e7b87e3

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975349

Change-Id: I82ff44bf8945c25f93934ce0d66a9d6df79c39c0

2 years agoDO NOT MERGE Initialize DrawingState::trustedOverlay to false in constructor am:...
Robin Lee [Tue, 9 Nov 2021 23:21:00 +0000 (23:21 +0000)]
DO NOT MERGE Initialize DrawingState::trustedOverlay to false in constructor am: 41f48c7b10

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975349

Change-Id: I0912c6d109ad74b0525cc5505a77177ed1f96e4a

2 years agoAdd mechanism for a task's windows to be trusted overlays (SF) am: 7605fb4273
Winson Chung [Tue, 9 Nov 2021 23:20:59 +0000 (23:20 +0000)]
Add mechanism for a task's windows to be trusted overlays (SF) am: 7605fb4273

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975348

Change-Id: I4058c131ac922d0a13482465c08dab0f94d3cab1

2 years agoChange InputWindowInfo::isTrustedOverlay() to be permission and flag based. am: 39bc6...
Chris Ye [Tue, 9 Nov 2021 23:20:58 +0000 (23:20 +0000)]
Change InputWindowInfo::isTrustedOverlay() to be permission and flag based. am: 39bc6117dd

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975347

Change-Id: I16c075529730d5d7aab08fa0779dac436aa956e4

2 years agoDO NOT MERGE Initialize DrawingState::trustedOverlay to false in constructor am:...
Robin Lee [Tue, 9 Nov 2021 23:18:52 +0000 (23:18 +0000)]
DO NOT MERGE Initialize DrawingState::trustedOverlay to false in constructor am: 41f48c7b10

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975349

Change-Id: I7ddafc10faa4f00eebe4505327f312f1035a11d7

2 years agoAdd mechanism for a task's windows to be trusted overlays (SF) am: 7605fb4273
Winson Chung [Tue, 9 Nov 2021 23:18:51 +0000 (23:18 +0000)]
Add mechanism for a task's windows to be trusted overlays (SF) am: 7605fb4273

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975348

Change-Id: I23c2b8453f21a1d05b533a95bc82601d013a7319

2 years agoChange InputWindowInfo::isTrustedOverlay() to be permission and flag based. am: 39bc6...
Chris Ye [Tue, 9 Nov 2021 23:18:50 +0000 (23:18 +0000)]
Change InputWindowInfo::isTrustedOverlay() to be permission and flag based. am: 39bc6117dd

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/15975347

Change-Id: I4bcdda3e303a6842d5cdfd3227b298e4e5c6429e

2 years agoavoid extra release of unowned objects in Parcel error path am: d668098e47
Steven Moreland [Tue, 9 Nov 2021 23:18:19 +0000 (23:18 +0000)]
avoid extra release of unowned objects in Parcel error path am: d668098e47

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16177016

Change-Id: I339bd999acca04d1a5252a1d3237200a1bbf0088

2 years agoavoid extra release of unowned objects in Parcel error path am: d668098e47
Steven Moreland [Tue, 9 Nov 2021 23:15:53 +0000 (23:15 +0000)]
avoid extra release of unowned objects in Parcel error path am: d668098e47

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16177016

Change-Id: Ieee2d8a542b2ebe0f73c179dc7912bf02255892c

2 years agoMerge changes from topic "trusted_overlay_backport" into rvc-dev
Winson Chung [Tue, 9 Nov 2021 23:03:14 +0000 (23:03 +0000)]
Merge changes from topic "trusted_overlay_backport" into rvc-dev

* changes:
  DO NOT MERGE Initialize DrawingState::trustedOverlay to false in constructor
  Add mechanism for a task's windows to be trusted overlays (SF)
  Change InputWindowInfo::isTrustedOverlay() to be permission and flag based.

2 years agoavoid extra release of unowned objects in Parcel error path am: 7c8497e012 am: 0d3d30f369
Steven Moreland [Tue, 9 Nov 2021 22:37:48 +0000 (22:37 +0000)]
avoid extra release of unowned objects in Parcel error path am: 7c8497e012 am: 0d3d30f369

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16177015

Change-Id: I43bc55cd7ff9f645d0ab6fe84f18aea272a9b213

2 years agoCheck if the window is partially obscured for slippery enters
Siarhei Vishniakou [Wed, 9 Dec 2020 18:07:46 +0000 (08:07 -1000)]
Check if the window is partially obscured for slippery enters

Currently, we only check whether a window is partially obscured during
the initial tap down. However, there is another use case: slippery
enter.

During a slippery enter, the touch down is generated into the
slipped-into window, and touch cancel is generated for the slipped-from
window. The window receiving the slippery enter does not need to have
any flags.

Until we figure out whether we can restrict the usage of this flag to
system components, add this check as an intermediate fix.

Bug: 157929241
Test: atest FlagSlipperyTest
Test: atest inputflinger_tests
Change-Id: I93d9681479f41244ffed4b1f88cceb69be71adf2
Merged-In: I93d9681479f41244ffed4b1f88cceb69be71adf2

2 years agoavoid extra release of unowned objects in Parcel error path am: 7c8497e012
Steven Moreland [Tue, 9 Nov 2021 22:15:21 +0000 (22:15 +0000)]
avoid extra release of unowned objects in Parcel error path am: 7c8497e012

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/16177015

Change-Id: Ifcbf7e9fbfd7807fde9b8dc5fd79317a7a45c65f

2 years agoSnap for 7889170 from 01d3a2aff2ab38babbf80930954c8457daf22939 to sc-v2-release
Android Build Coastguard Worker [Sat, 6 Nov 2021 01:06:54 +0000 (01:06 +0000)]
Snap for 7889170 from 01d3a2aff2ab38babbf80930954c8457daf22939 to sc-v2-release

Change-Id: I1398f655b90fa6f98013dc0888d501134e43f7dd