Commit Graph

765979 Commits

Author SHA1 Message Date
TreeHugger Robot
3f252eceee Merge changes from topic "tc_change_22071422_22" into tm-dev am: 106e27a7ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19293949

Change-Id: Ibf79ea0d20c4641c93b0f67f3a9e9b4517252259
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-15 17:30:51 +00:00
Bill Yi
cc96211688 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 1025d2875d am: cd570ae3e0 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I675e7a25408c9a6e10693f7797f5e09836c7718f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-15 17:30:44 +00:00
Bill Yi
f9062ef782 [automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 42ab40addd am: 06707db760 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9e09cf5525af77034f849eb37495ecb66512728f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-15 17:30:25 +00:00
TreeHugger Robot
1d2213f8b7 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev 2022-07-15 17:19:07 +00:00
TreeHugger Robot
106e27a7ae Merge changes from topic "tc_change_22071422_22" into tm-dev
* changes:
  [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 1025d2875d
  Import translations. DO NOT MERGE ANYWHERE
2022-07-15 17:00:08 +00:00
Bill Yi
06707db760 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 42ab40addd
Blank merge reason: commit message contains skip directive

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

Change-Id: Ia6fb5dbea2eda8c195883fa6bd12848e9899b360
2022-07-15 05:30:24 +00:00
Bill Yi
cd570ae3e0 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 1025d2875d
Blank merge reason: commit message contains skip directive

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

Change-Id: Ib7cec29935109be9a2eb62a7ffa6620d6b204fda
2022-07-15 05:30:10 +00:00
Andrew Solovay
8d0a26091b Merge "docs: Typo fix ("Poicly" -> "Policy")." into tm-dev am: c8cf6861e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19270053

Change-Id: I8de208f366e245fe9de5b83c547c076c74bdc0e3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-14 22:35:39 +00:00
Andrew Solovay
c8cf6861e8 Merge "docs: Typo fix ("Poicly" -> "Policy")." into tm-dev 2022-07-14 22:19:16 +00:00
Presubmit Automerger Backend
e00b3f47d2 [automerger skipped] [automerge] DO NOT MERGE: Revert "Make CheckOp return allowed if any attr tag for a package is excluded" 2p: de7b0f6dd0 am: b919b8077f -s ours am: 030bbaddb4 -s ours am: 8a0a786c5e -s ours
am skip reason: subject contains skip directive

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

Change-Id: I19c558441dcccde7043fd9c40291cf4162bceb8a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-14 20:11:43 +00:00
Presubmit Automerger Backend
8a0a786c5e [automerger skipped] [automerge] DO NOT MERGE: Revert "Make CheckOp return allowed if any attr tag for a package is excluded" 2p: de7b0f6dd0 am: b919b8077f -s ours am: 030bbaddb4 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ie8bac73cafe4af1062c40252104ec1f9a8d5a3cd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-14 19:53:44 +00:00
Bill Yi
b97502c4b6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iea58f7851c0a7fce9c83fc307618cc9b309362f9
2022-07-14 12:46:54 -07:00
Bill Yi
42ab40addd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I22c7529155bc89b3163c5e916dfca8a2097eac59
2022-07-14 12:43:51 -07:00
Bill Yi
1025d2875d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7b09b3f3d87c64e1150fb2d8cd3107fc3385fa2a
2022-07-14 12:40:32 -07:00
TreeHugger Robot
8efc37ac3e Merge changes from topic "revert-2022-20240" into tm-dev am: 2921d3f4c3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19245451

Change-Id: I2623c2acbc723d4b737771b02048e12192c0e20f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-14 19:29:48 +00:00
Presubmit Automerger Backend
267a97f82d [automerged blank] DO NOT MERGE: Revert "Make CheckOp return allowed if any attr tag for a package is excluded" 2p: de7b0f6dd0 2p: ffac771ad0 am: de21f47c02
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19245451

Change-Id: Ifa2765c1ed2ef9680637865f08eb3c830baf70cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-14 19:29:45 +00:00
Presubmit Automerger Backend
030bbaddb4 [automerger skipped] [automerge] DO NOT MERGE: Revert "Make CheckOp return allowed if any attr tag for a package is excluded" 2p: de7b0f6dd0 am: b919b8077f -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iadc5146ec24c38e9d8e352700553d7eaa5a39cff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-14 19:29:44 +00:00
TreeHugger Robot
2921d3f4c3 Merge changes from topic "revert-2022-20240" into tm-dev
* changes:
  [automerged blank] DO NOT MERGE: Revert "Make CheckOp return allowed if any attr tag for a package is excluded" 2p: de7b0f6dd0 2p: ffac771ad0
  [automerge] DO NOT MERGE: Revert "Make CheckOp return allowed if any attr tag for a package is excluded" 2p: de7b0f6dd0
  DO NOT MERGE: Revert "Make CheckOp return allowed if any attr tag for a package is excluded"
2022-07-14 19:04:13 +00:00
TreeHugger Robot
e12369e3cf Merge "Bouncer should dismiss if being tracked when face unlocked" into tm-d1-dev 2022-07-14 17:46:28 +00:00
TreeHugger Robot
f1fa5105b7 Merge "Dump InputProcessor when watchdog bites" into tm-d1-dev 2022-07-14 16:55:44 +00:00
Matt Pietal
80771ec563 Bouncer should dismiss if being tracked when face unlocked
When the user is tracking the bouncer with their finger and a
successful face unlock occurs, the bouncer should always be
immediately dismissed. Prior to this, it was possible for the user to
continue tracking the bouncer over the homescreen after unlock, leading 
to shade problems, including missing lock/udfps icons and
lockscreen over homescreen/activity.

The primary issue was BiometricUnlockController was returning MODE_NONE, and 
is now returning MODE_DISMISS_BOUNCER.

Fixes: 237822716
Test: atest StatusBarKeyguardViewManagerTest
Change-Id: I364d8e61a61138d79240b5baefed295493678063
2022-07-14 14:21:57 +00:00
Andrew Solovay
8b7f68d4ef docs: Typo fix ("Poicly" -> "Policy").
Bug: 178958617
Change-Id: I0144af1f11f742d197aa38074b8c59be19cbdeb7
Test: (Built docs with go/abtd - go/abort-ui/run/L19100000955473218)
2022-07-13 23:44:51 +00:00
Siarhei Vishniakou
f31e0c21a7 Dump InputProcessor when watchdog bites
Now that monitor() blocks on the InputProcessor HAL, let's also dump
InputProcessor so that we can figure out where it's stuck.

Bug: 237322365
Test: adb bugreport (after watchdog bites)
Change-Id: I2febac799b4fd1f5268c353fad1e3c6418bfc47d
2022-07-13 21:04:35 +00:00
Steve Elliott
7f387f9ae9 Fix stale NSSL "fling" state caused by no-op fling
If a fling gesture ends with the current Y position in the exact end
position for the fling, then the code to run the fling animation is
bypassed, but the flag in AmbientState tracking whether a fling is
active is never reset. This CL replaces the short circuit logic with the
standard fling-end logic, ensuring that all expected code paths are
executed.

Fixes: 234824085
Fixes: 237272856
Test: manual
  1. Enter lockscreen
  2. Swipe up and then down to the exact same position, in one
     continuous gesture
  3. Wait for a notification update
  Observe: Shade resizes correctly to match the new contents
Change-Id: Ie8ddf1dbaaf1ba607657646db05d3eb622fc9415
Merged-In: Ie8ddf1dbaaf1ba607657646db05d3eb622fc9415
2022-07-13 19:42:34 +00:00
Jeff DeCew
52ebab8ffd Fix squished notifications on the lockscreen.
This fixes a stale state caused when stack height is not recalculated after being frozen.  NSSL uses shouldSkipHeightUpdate() to prevent the stack height from being recalculated during various animations and gestures, but we didn't correctly trigger a recalculation after that 'freeze', so this CL adds the necessary recalculation at those transition points to prevent the old stack height from persisting until the next update.

This also fixes a visual jump when unfreezing the stack height if it was frozen while the appear fraction was still changing.  This jump is fixed by allowing the appear fraction to continue to apply and update the stackHeight (from the stackEndHeight) even while the stackEndHeight is frozen.

Fixes: 235366457
Test: drag shade up during aod->ls transition
Change-Id: Ice6de1149b05564294e5c51308e962112cf4eda7
(cherry picked from commit 82596c5c5d)
2022-07-13 17:00:51 +00:00
Neha Jain
9d2f3f9d1f Merge "Fix TaskFragmentTrustedModeTest" into tm-dev am: 1664eecb70
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19206328

Change-Id: I2537131b3b10f28b65dc89c3a785026a6422f396
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-12 22:47:34 +00:00
Neha Jain
1664eecb70 Merge "Fix TaskFragmentTrustedModeTest" into tm-dev 2022-07-12 22:22:49 +00:00
TreeHugger Robot
235978f9c4 Merge "Don't reregister AoD UDFPS gesture after trigger" into tm-d1-dev 2022-07-12 17:26:28 +00:00
TreeHugger Robot
7822ffa2e6 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev 2022-07-12 04:55:29 +00:00
TreeHugger Robot
a5f69b832f Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev 2022-07-12 04:55:29 +00:00
TreeHugger Robot
14f40856f5 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev 2022-07-12 04:55:29 +00:00
TreeHugger Robot
781f12b381 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev 2022-07-12 04:55:29 +00:00
TreeHugger Robot
217e5416bf Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev 2022-07-12 04:54:58 +00:00
TreeHugger Robot
e44a84f6c0 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-d1-dev 2022-07-12 04:54:58 +00:00
Bill Yi
bac52b746f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I07f8255e9b889b85dab89fa8b462e767927a2526
2022-07-11 14:42:22 -07:00
Bill Yi
2f4ccb28ef Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I81724aa611c65a31dd6491b214bb834ac75b042f
2022-07-11 14:36:03 -07:00
Bill Yi
801c596865 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I58469012e42e26f0ebf9614502542bbf7994a883
2022-07-11 14:34:24 -07:00
Presubmit Automerger Backend
de21f47c02 [automerged blank] DO NOT MERGE: Revert "Make CheckOp return allowed if any attr tag for a package is excluded" 2p: de7b0f6dd0 2p: ffac771ad0
Blank merge reason: commit message contains skip directive

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

Bug: 231496105
Change-Id: I23079ce86181344f3bb06c57769f7016bea9d735
2022-07-11 21:21:07 +00:00
Presubmit Automerger Backend
ffac771ad0 [automerge] DO NOT MERGE: Revert "Make CheckOp return allowed if any attr tag for a package is excluded" 2p: de7b0f6dd0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19245451

Bug: 231496105
Change-Id: I6759b48e2902896a5a96e11a7abaf672cbfe67ad
2022-07-11 21:20:53 +00:00
Presubmit Automerger Backend
b919b8077f [automerge] DO NOT MERGE: Revert "Make CheckOp return allowed if any attr tag for a package is excluded" 2p: de7b0f6dd0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19245451

Bug: 231496105
Change-Id: I02054942e9b0b3df13dc322c6ef368d024645b98
2022-07-11 21:20:52 +00:00
Bill Yi
190457ee8c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I21c0dfe8144f78acb7be72a0f55855d0443d6770
2022-07-11 14:20:30 -07:00
Evan Severson
de7b0f6dd0 DO NOT MERGE: Revert "Make CheckOp return allowed if any attr tag for a package is excluded"
This reverts commit 25f1b6a1ac.

Revert "Allow system server uid to bypass location restriction"

This reverts commit 1dddfe1f70.

Revert "Disallow privileged apps to bypass location restriction"

This reverts commit 807f4cfc80.

Ice55cbe9524e6d3526210861ad9c431df7255d99 isn't ready in sc

Bug: 231496105
Change-Id: I2a0bd4f2ae75ef300eaf77953baad4ebdae6e189
2022-07-11 14:20:19 -07:00
Bill Yi
c914af1446 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I06a81568a23201968c3d970d52d27777b0de6b59
2022-07-11 14:09:56 -07:00
Bill Yi
c9b723f7e5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I859ca404aa6abe64be69f9a245fdd5d93c4fc9fe
2022-07-11 13:37:23 -07:00
Bill Yi
b5fabdb7c9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic6ca69fb1d9aacc4dc1bad735eee1685d6f6ec11
2022-07-11 11:47:38 -07:00
Beverly
4ddf61134d Don't reregister AoD UDFPS gesture after trigger
Instead, the gesture will re-register on the next
AoD transition change (ie: from PULSE => AOD).

Test: atest DozeSensorsTest
Fixes: 233713099
Change-Id: I7bdd1838385d755a17eefd79e24bf4eb9f72a44c
Merged-In: I7bdd1838385d755a17eefd79e24bf4eb9f72a44c
(cherry picked from commit 5f8ab56659)
2022-07-11 14:06:20 +00:00
Avichal Rakesh
00d8fb5022 Merge "camera: Fix exception handling from ImageReader#detach" into tm-d1-dev 2022-07-07 22:14:03 +00:00
Lucas Dupin
f2cf01bb57 Merge "Size restrict right icon size in notification" into tm-dev am: 9ec047d918
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19197146

Change-Id: Ib3cc8a44198865796df45ea6fb2dbc2b3fde88fb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-07-07 16:07:47 +00:00
Lucas Dupin
9ec047d918 Merge "Size restrict right icon size in notification" into tm-dev 2022-07-07 15:49:41 +00:00
Charles Chen
c231302191 Fix TaskFragmentTrustedModeTest
The condition was inverted, and led to #reparentChildren didn't work.
This CL also removes some minimum dimension checks because it is covered in TaskFragment#isAllowedToEmbedActivity(ActivityRecord).


Test: atest TaskFragmentTrustedModeTest TaskFragmentOrganizerTest
Test: atest TaskFragmentOrganizerPolicyTest SplitActivityLifecycleTest
Fixes: 238054859
Bug: 233578672

Merged-In: Ic58edee8e239e94b9986f06b499281487a9a973d
Change-Id: Ic58edee8e239e94b9986f06b499281487a9a973d
2022-07-07 09:47:52 +00:00