Commit Graph

781408 Commits

Author SHA1 Message Date
Grace Cheng
49fedfb025 Merge "Increase animation size and dialog width in BiometricPrompt, and change DT->LT color mapping for better visibility" into tm-qpr-dev 2022-12-15 18:05:59 +00:00
Will Leshner
d81ff7be8c Fix a flicker when short pressing power button.
There is no need to explicitly lock the device on short power button
press if not going to a dream. The default behavior already locks the
device. This fixes a very short flicker when turning off the screen with
the power button.

Also fixes a bug where double-tapping locks the device before showing
the camera.

Bug: 262205573, 262484867
Test: manually by undocking device, tapping the power button, and seeing
there is no flicker before the screen turns off. Also, make sure the
device is locked after the screen turns off.

Change-Id: Iec72119495fb4fd47176094d9a0c33fc312600bd
2022-12-15 10:03:04 -08:00
Prabir Pradhan
8b70e07466 Merge "DO NOT MERGE: Add remapping for an Android stylus" into tm-qpr-dev 2022-12-15 18:01:18 +00:00
Derek Jedral
520da04fba Add newlyUnlocked to onTrustChanged
onTrustChanged doesn't notify listeners if the trust change was actually
used to unlock the device, and so listeners cannot react to the change
properly. We need to pass an additional boolean.

Test: manual test
Bug: 258001148
Change-Id: Ia205640fbdb5ddeb328ea81f1fe74c80ce25bca8
2022-12-15 17:34:42 +00:00
Justin Weir
c688cdba8e Add QS header margin to OHM touch adjustment
Test: manual and atest
Fixes: 238840692
Change-Id: I59c8905eabcca22e988caadf5f983ede74aac982
2022-12-15 17:27:53 +00:00
TreeHugger Robot
04f120732a Merge "Allow launching placeholder when the TaskFragment is visible" into tm-qpr-dev 2022-12-15 17:12:27 +00:00
Vania Januar
19c2e560e6 Add owners file for /systemui/notetask.
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2358880

Change-Id: I800eb57b184f0a8b11cfc92e50b0b337465e76c2
Merged-In: I800eb57b184f0a8b11cfc92e50b0b337465e76c2
2022-12-15 16:30:32 +00:00
Louis Chang
3fe70b2b61 Searching and resuming the visible child Tasks behind invisible one
The top-most Task was invisible because all activities in the Task
was finishing. This somehow prevents the activities of Tasks behind
from being resumed.

Bug: 260691453
Test: atest TaskTests
Test: Repro steps on the bug
Change-Id: I1fdda18a118915b4328d62e9d0984581fafa4f44
2022-12-15 16:11:09 +00:00
Rupesh Bansal
601df459c9 Merge "Sleep softly on device close." into tm-qpr-dev 2022-12-15 16:03:32 +00:00
Miranda Kephart
04f38f22d0 Merge "Add log when clipboard smart actions shown" into tm-qpr-dev 2022-12-15 16:02:47 +00:00
Caitlin Shkuratov
c22bcff3c4 Merge "[SB Refactor] Ignore #onDarkChanged test." into tm-qpr-dev 2022-12-15 15:18:58 +00:00
Caitlin Shkuratov
0936b18857 [SB Refactor] Ignore #onDarkChanged test.
Bug: 262660044
Test: atest ModernStatusBarWifiViewTest
Change-Id: Ie8b966d201e35af8a70374c902e82ede54c600cf
2022-12-15 14:53:32 +00:00
Caitlin Shkuratov
2d13fdb105 Merge "[Chipbar] Only request a11y focus if the chipbar has a button." into tm-qpr-dev 2022-12-15 14:48:30 +00:00
Fabian Kozynski
e325d366e5 Merge "Fix extra constant value" into tm-qpr-dev 2022-12-15 14:36:04 +00:00
Johannes Gallmann
2821c69517 Merge "Fix notification launch animation for groups" into tm-qpr-dev 2022-12-15 14:10:16 +00:00
Bill Yi
e98a8c76e4 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-15 14:08:52 +00:00
Bill Yi
52e196aa64 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-15 14:08:52 +00:00
Bill Yi
7c7859b09d Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-15 14:08:52 +00:00
Bill Yi
0212f33f17 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-15 14:08:52 +00:00
Joanne Chung
4c30eee755 Merge "Reset Autofill dialog if the content is changed" into tm-qpr-dev 2022-12-15 14:01:22 +00:00
omarmt
805da85384 Do not reset roundness on ExpandableOutlineView.initDimens()
Manual test steps:
- Post some notifications in different sections
- Change the wallpaper of your device
Previous behavior: Notifications no longer stayed rounded
New behavior: Notifications remain rounded

Test: atest ActivatableNotificationViewTest.roundnessShouldBeTheSame_after_onDensityOrFontScale()
Bug: 262573700
Change-Id: I12550d1201b8e43ca7af92a1ba5fd1e164446bd0
2022-12-15 13:16:35 +00:00
Chris Li
a32a2ffce2 Fix delay on TYPE_TASK_FRAGMENT_VANISHED
Before, we call sendTaskFragmentVanished after the removeImmediately,
which may not have any following activity paused/resumed to trigger
relayout to dispatch the pending event to the organizer.

Now, we call mWindowPlacerLocked.requestTraversal() to ensure the
vanished event will be dispatched.

Without this change, the splitInfo callback can be stucked on waiting
for empty TaskFragment vanished event.

Bug: 262666213
Test: atest CtsWindowManagerDeviceTestCases:TaskFragmentOrganizerTest
Test: atest WmTests:TaskFragmentOrganizerControllerTest
Change-Id: Ibf76af205a5fc91400bdd5fc967a0d13591cfe92
2022-12-15 20:42:15 +08:00
Vania Januar
fcf6197b26 Merge "Add owners file for /systemui/stylus." into tm-qpr-dev 2022-12-15 12:07:44 +00:00
Jordan Demeulenaere
4c42ecfeb1 Merge "Remove the <application> tag from SystemUIComposeFeatures" into tm-qpr-dev 2022-12-15 10:51:13 +00:00
Piotr Wilczyński
fd4bed64d6 Merge "Make DPC listen to auto-brightness mode changes" into tm-qpr-dev 2022-12-15 10:26:33 +00:00
Vania Januar
acc84090e9 Add owners file for /systemui/stylus.
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2355562

Change-Id: Ibed27e4faaa7ee75052842d8a76de6b09a09beae
Merged-In: Ibed27e4faaa7ee75052842d8a76de6b09a09beae
2022-12-15 10:25:18 +00:00
Vania Januar
206392b411 Merge "Low battery notifications for USI styluses." into tm-qpr-dev 2022-12-15 10:18:31 +00:00
Tony Huang
9e656e7c3c Merge "Fix failed while running same pair again" into tm-qpr-dev 2022-12-15 10:15:23 +00:00
Johannes Gallmann
e068bb37e4 Merge "Fix notification launch animation for split shade" into tm-qpr-dev 2022-12-15 09:36:44 +00:00
Luca Zuccarini
ea07279ebb Merge "Make ActivityLaunchAnimator.Runner usable independently." into tm-qpr-dev 2022-12-15 08:29:40 +00:00
TreeHugger Robot
2fafc8df65 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-15 07:32:24 +00:00
TreeHugger Robot
c0a472c0cf Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-15 07:32:24 +00:00
TreeHugger Robot
1fcef083b5 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-15 07:32:24 +00:00
Winson Chung
a01c128568 Add logging for floating rotation button
Bug: 260223107
Test: Just logs
Change-Id: I71f0afa9be4a0620b606e2e0c20f5817f361e5fb
2022-12-15 07:11:51 +00:00
Riddle Hsu
c7237c1b0e Merge "Inherit smallest width if TF is not multi-window without bounds override" into tm-qpr-dev 2022-12-15 07:11:10 +00:00
shaoweishen
3024a0fb19 [Output Switcher] Add flag for follow up update
the flags for
1. routes processing, which will include deduplicate device
   id and apply application routes listing preference.
2. device status allow checking the flags or status of routes and show
   corresponded status in the subtext of device.
both of flags will only take effect on android U.

Test: N/A
Bug: 261538825

Change-Id: If1b2134136bef715629de81531f9a3d64812fb42
2022-12-15 06:50:43 +00:00
Grace Cheng
4751acc5c0 Increase animation size and dialog width in BiometricPrompt, and change DT->LT color mapping for better visibility
Increases animation asset size in BiometricPrompt, sets BP width to 560dp, and modifies DT->LT color mapping for better visibility

Test: (manual) Open BP, observe new animation size, dialog width, and LT colors
Fixes: 260015824
Change-Id: I6890058668b570ee3c73debdd00f31d78d26b3b1
2022-12-15 06:25:15 +00:00
Junyu Lai
46c7d694aa Merge "Do not crash when duplication found in merged imsi list" into tm-qpr-dev 2022-12-15 06:21:58 +00:00
Tony Huang
724294eaf9 Fix failed while running same pair again
The exitSplit called while we launch the same split pair caused
it cannot enter split successful then lead to tests failed.

Add check isEnteringSplit check for that exitSplit.

Fix: 262595710
Test: atest NexusLauncherTests
Change-Id: I8666476ff76e3912542d30441b144c67baed9f38
2022-12-15 06:07:02 +00:00
Zhenwei Chen
1d9a68d3dd Update string for all defenders
Bug: 262508668
Test: Unit test passed
Change-Id: Ic6bfdbb30f69cb621ac17bb6ec192ac5dee5ca57
2022-12-15 05:31:18 +00:00
Joanne Chung
aff32206e9 Merge "Hotword: Add uid into the original metrics" into tm-qpr-dev 2022-12-15 04:16:07 +00:00
Rupesh Bansal
3b7ae930fa Merge "Add support to read refresh rate thresholds and controls from the DisplayDeviceConfig" into tm-qpr-dev 2022-12-15 03:26:04 +00:00
Chris Li
ffecd01711 Allow launching placeholder when the TaskFragment is visible
Before, we only launch placeholder from the top most
TaskFragmentContainer. Now we also launch placeholder from the one
that is not the top most, but is visible. This can happen when the
top most is transparent.

Bug: 261550242
Test: atest WMJetpackUnitTests:SplitControllerTest
Merged-In: I6e3c4122d5d618b8a9ac054c19b0a3d19e7d3b20
Change-Id: I6e3c4122d5d618b8a9ac054c19b0a3d19e7d3b20
2022-12-15 03:20:10 +00:00
Bill Yi
89cd665a8f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I42494363523060cc89c17fdc8f53a0261c5909a1
2022-12-14 18:08:24 -08:00
Ats Jenk
1c86204d10 Fix test after MockToken refactor
MockToken class was extracted from DesktopModeControllerTest. But
conflicting changes landed which broke the build and the changes were
reverted. Applying the changes again by reverting the revert and fixing
the test.

Bug: 260645044,261234251,260645044
Test: atest DesktopModeControllerTest DesktopTasksControllerTest
Change-Id: I95f66c35c671e774c3a4f7ba6b64167595f69b60
2022-12-15 02:02:58 +00:00
Bill Yi
b32bef9a7e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I106203ff9613d5d0c6ee41095e7d473c06d1e4c1
2022-12-14 17:57:56 -08:00
Bill Yi
9816684392 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I838f9b11028dfd9994fb0aca4ebc93cd4fed0f2c
2022-12-14 17:42:51 -08:00
Bill Yi
2bbb5778d1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I874f5a1d20b5956ccc12a342b2c0846c22a07db3
2022-12-14 17:36:02 -08:00
Ats Jenk
fab81f10e5 Revert^2 "Implement move to desktop and fullscreen"
27ab8c084b

Change-Id: I38187ab6c54ce80193902cebcabced662f79a6ec
2022-12-14 17:21:31 -08:00
Ats Jenk
7e40f7b4d1 Revert^2 "Implement showDesktopApps"
6fadd9130f

Change-Id: I54f8ea80b094e6d0bc18273022e27b8dc0be6fb5
2022-12-14 17:20:32 -08:00