Commit Graph

813479 Commits

Author SHA1 Message Date
Robert Shih
05ef0ed05d Merge "Update the variable type to DrmStatus in libmedia_jni" 2022-12-15 18:26:30 +00:00
Varun Shah
a31610f23a Don't update the standby bucket for apps that were just restored.
This prevents an app's bucket from being lowered due to a timeout if the
app hasn't been used since it was restored.

Bug: 214580000
Test: atest UsageStatsDatabaseTest
Test: manually verify buckets are restored
Change-Id: I1df310afabf2abde7bf91daab0142114bf244ec8
(cherry picked from commit d1fb46c68d)
2022-12-15 18:07:59 +00:00
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
Dorin Drimus
b84433bd71 Merge "Add AudioCapabilities for DTS audio formats" 2022-12-15 17:51:30 +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
TreeHugger Robot
43df948f22 Merge "Allow launching placeholder when the TaskFragment is visible" into tm-qpr-dev am: 04f120732a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20663226

Change-Id: I3c1551b3c0322feb52cbee1325ed3008995f66fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 17:29:48 +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
Caitlin Shkuratov
c4b5eac69c [Media TTT] Turn flag off (so it's not on for QPR2), but leave it on for
teamfood.

Bug: 262726947
Test: verify flag still on for teamfood
Change-Id: If0e0201a1b4732c148a564aeb1b414ddf0081843
2022-12-15 17:14:24 +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
Rupesh Bansal
39787adc3f Merge "Sleep softly on device close." into tm-qpr-dev am: 601df459c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20738606

Change-Id: Iff22317dbd4410015a00e5cead2a9519da92d5f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 16:53:23 +00:00
Miranda Kephart
ea7d62f3a7 Merge "Add log when clipboard smart actions shown" into tm-qpr-dev am: 04f38f22d0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20617385

Change-Id: I8326fb7d75365d07a882880f05bcfb5ba1add985
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 16:52:21 +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
244a75d1d2 Merge "[SB Refactor] Ignore #onDarkChanged test." into tm-qpr-dev am: c22bcff3c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20746450

Change-Id: Ide49aae29db96fdbe3368663bf72f2b9190c6bfc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 15:37:11 +00:00
Vania Januar
4ae8650479 Merge "Add owners file for /systemui/notetask." am: 99fb0eee15 am: 35ad9e989f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2358880

Change-Id: I800eb57b184f0a8b11cfc92e50b0b337465e76c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 15:31:59 +00:00
Prashant Patil
a2e8c0d622 Keystore: Attestation fix in AOSP builds
Alternet device properties used for attestation on AOSP and GSI builds.
Attestation ids were different in AOSP/GSI builds than provisioned ids
in keymint. Hence additional properties used to make these ids identical
to provisioned ids.

Bug: 110779648
Bug: 259376922
Test: atest VtsAidlKeyMintTargetTest:PerInstance/NewKeyGenerationTest#EcdsaAttestationIdTags/0_android_hardware_security_keymint_IKeyMintDevice_default
Test: atest VtsAidlKeyMintTargetTest:PerInstance/NewKeyGenerationTest#EcdsaAttestationIdTags/1_android_hardware_security_keymint_IKeyMintDevice_strongbox
Test: atest CtsKeystoreTestCases:android.keystore.cts.KeyAttestationTest CtsKeystoreTestCases:DeviceOwnerKeyManagementTest

Change-Id: Idd87314b8e5a95de3daac0ea4ff4dffd4c4c6f63
2022-12-15 15:30:18 +00:00
Caitlin Shkuratov
c22bcff3c4 Merge "[SB Refactor] Ignore #onDarkChanged test." into tm-qpr-dev 2022-12-15 15:18:58 +00:00
Joanne
b22a57c1c3 Update autofill OWNERS file.
Bug: 177641730
Test: n/a
Change-Id: I3f140152edf29982ef875ae2943997a919a358b4
2022-12-15 23:10:18 +08:00
Vania Januar
35ad9e989f Merge "Add owners file for /systemui/notetask." am: 99fb0eee15
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2358880

Change-Id: I745d27391d56d929381bdc1687498d703de6d6f4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 15:00:24 +00:00
Caitlin Shkuratov
931f3f29ce Merge "[Chipbar] Only request a11y focus if the chipbar has a button." into tm-qpr-dev am: 2d13fdb105
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20693631

Change-Id: Ie7c39dc77dee90753d7b78ae3ae89979aa21ac49
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 14:59:00 +00:00
Fabian Kozynski
eb123d6d4d Merge "Fix extra constant value" into tm-qpr-dev am: e325d366e5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20738446

Change-Id: I8ae5adb5fdbcd3d6a977d21b155245bb79cfbf06
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 14:58:40 +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
Vania Januar
99fb0eee15 Merge "Add owners file for /systemui/notetask." 2022-12-15 14:41:32 +00:00
Philip Junker
894cc33a3e Add philipjunker@ to PowerManager OWNERS
Change-Id: I9af75f303bc0ae963ef4cf15c961cd2a31e5b698
2022-12-15 14:39:45 +00:00
Vania Januar
91e44d73f6 Add owners file for /systemui/notetask.
Test: N/A
Change-Id: I5b943719552d17ce359ee6ec5b1791e2be665342
2022-12-15 14:37:07 +00:00
Fabian Kozynski
e325d366e5 Merge "Fix extra constant value" into tm-qpr-dev 2022-12-15 14:36:04 +00:00
Johannes Gallmann
26f9993b3a Merge "Fix notification launch animation for groups" into tm-qpr-dev am: 2821c69517
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20665670

Change-Id: Idecd1c85fb6c5e8c7591f4241961f2291a764f83
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 14:34:03 +00:00
Bill Yi
c1179619f2 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: e98a8c76e4 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I5aba56919e58a30b5be04a6ee8b285a3d77aa61d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 14:33:03 +00:00
Bill Yi
b961727076 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 2bbb5778d1 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I0491c3585f6ef31b38c3bb3c06374145de4d58d6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 14:32:53 +00:00
Bill Yi
b0a4f2d98a [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 52e196aa64 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ic6cce06ba100dd8086113193c54467940788b3c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 14:32:37 +00:00
Bill Yi
a410adc343 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 7a656e7f2b -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia43f8c867dd8c85229eaec2ee87ea771394a428a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 14:31:56 +00:00
Bill Yi
d8c3466011 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 7c7859b09d -s ours
am skip reason: subject contains skip directive

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

Change-Id: I6768308a349a3a2858ec6e156a6fb4d8ec47f690
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 14:31:22 +00:00
Bill Yi
88f5ae42bd [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 3bd6146101 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7ec7f9fc828e0abd3c176937a274a9fca7e3c866
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 14:30:53 +00:00
Bill Yi
216c0c60d3 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 0212f33f17 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia6625a9e571e19b9522cdd3a3e3ae39b9cb6d97e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 14:30:40 +00:00
Bill Yi
f954adeeda [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 934679eb8a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7291003437f2f51020aa3b0d2ec66ace60d87b9b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 14:30:11 +00:00
Joanne Chung
fb6fa1e9dd Merge "Reset Autofill dialog if the content is changed" into tm-qpr-dev am: 4c30eee755
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19194947

Change-Id: Ifec9f8cec4c312d0184bf802037d020c34e26c94
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 14:23:43 +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
TreeHugger Robot
a9fa09cbfb Merge "Reconcile Expandable.kt on master/tm-qpr-dev-plus-aosp and tm-qpr-dev" into tm-qpr-dev-plus-aosp 2022-12-15 13:59:46 +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
Jernej Virag
3e3f282309 Implement pull logging for Notification Memory
This implements a pull StatsD logger which will aggregate and log
current memory consumption of displayed notifications.

Bug: 235451049
Test: statsd_testdrive 10173
Change-Id: I671c8819c25795d2a18639808830802af3bbf1eb
Merged-In: I671c8819c25795d2a18639808830802af3bbf1eb
2022-12-15 12:59:16 +00:00