summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-04-06Merge cherrypicks of ['googleplex-android-review.googlesource.com/22358561'] ↵android-13.0.0_r57android13-d3-s1-releaseAndroid Build Coastguard Worker
into tm-d3-release. Change-Id: Ie020f57e48979ac372aad7cfcadba9a854b0031f
2023-04-06Import translations. DO NOT MERGE ANYWHEREBill Yi
BUG:267395633 Auto-generated-cl: translation import (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ded9742f1735a592bbdfbbb82959aaa93379bd57) Merged-In: I7d95327a9fe31b15fa6972f605d7c9bd978cc63b Change-Id: I7d95327a9fe31b15fa6972f605d7c9bd978cc63b
2023-03-29Merge cherrypicks of ['googleplex-android-review.googlesource.com/21436226'] ↵Android Build Coastguard Worker
into tm-d3-release. Change-Id: I307affcbebf3923dcc150d2dc4e6f0e692926a12
2023-03-29Remove orientation restriction from Camera2SurfaceViewActivitypashalee
We need this change because some devices are setup in portrait mode to test. Test: run stress tests testVideoSnapshot and testTakePicture Bug: 269054609 Bug: 269054476 Bug: 269052637 Bug: 269053061 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:64b1944756c55709b3a1f49800dcc817eba71b95) Merged-In: Ia3d5bf805c5926aabfcb6f8b94066b58acabf1c6 Change-Id: Ia3d5bf805c5926aabfcb6f8b94066b58acabf1c6
2023-03-23Merge cherrypicks of ['googleplex-android-review.googlesource.com/21295778', ↵Android Build Coastguard Worker
'googleplex-android-review.googlesource.com/22179711'] into tm-d3-release. Change-Id: If70270ceb04c621a2a988a75a6defa1602cb5e29
2023-03-23RESTRICT AUTOMERGE pixel-snap on HWUI sideJohn Reck
Bug: 254771190 Test: android.uirendering.cts.testclasses.ExactCanvasTests#testDrawLine Change-Id: Idfb5027fe3230f2c2b0cad224f2c7640e147ce4a (cherry picked from commit on googleplex-android-review.googlesource.com host: 38323c18fe15f0435d3168bc522f8ae52f36092a) Merged-In: Idfb5027fe3230f2c2b0cad224f2c7640e147ce4a
2023-03-23Make DialogLaunchAnimator.showFromDialog more lenientJordan Demeulenaere
Before this CL, calling DialogLaunchAnimator.showFromDialog from a Dialog that was not shown using DialogLaunchAnimator (i.e. it was shown using Dialog.show()) would crash. This CL changes that so that we show the dialog normally instead. Bug: 267387248 Test: DialogLaunchAnimatorTest Change-Id: I52f475822cde1162575f6b09b0abe1c77ca132a4 (cherry picked from commit on googleplex-android-review.googlesource.com host: dc5b50c35def901c810149d7095fc861019b5e69) Merged-In: I52f475822cde1162575f6b09b0abe1c77ca132a4
2023-03-17Merge cherrypicks of ['googleplex-android-review.googlesource.com/20953243', ↵Android Build Coastguard Worker
'googleplex-android-review.googlesource.com/21129648', 'googleplex-android-review.googlesource.com/21005178'] into tm-d3-release. Change-Id: I671ba69a030acf93b82dc8d8bc42c0c85d9d1ba9
2023-03-17[RESTRICT AUTOMERGE] Fix bypass BG-FGS and BAL via package manager APIsRhed Jao
Opt-in for BAL of PendingIntent for following APIs: * PackageInstaller.uninstall() * PackageInstaller.installExistingPackage() * PackageInstaller.uninstallExistingPackage() * PackageInstaller.Session.commit() * PackageInstaller.Session.commitTransferred() * PackageManager.freeStorage() Bug: 230492955 Bug: 243377226 Test: atest android.security.cts.PackageInstallerTest Test: atest CtsStagedInstallHostTestCases Change-Id: I9b6f801d69ea6d2244a38dbe689e81afa4e798bf (cherry picked from commit on googleplex-android-review.googlesource.com host: 03b77aee350696781b4d7a61768a172bedc3ac73) Merged-In: I9b6f801d69ea6d2244a38dbe689e81afa4e798bf
2023-03-17Fix bypass BAL via LocationManager.requestFlushKate Montgomery
Bug: 235823542 Test: atest LocationProviderManagerTest and manual tests Change-Id: I2a0fa7b99c3ad5ae839d8018ec70cb5c26e33240 (cherry picked from commit on googleplex-android-review.googlesource.com host: 7d43a5bcb2e13dcf118364a574f8c5610606e36e) Merged-In: I2a0fa7b99c3ad5ae839d8018ec70cb5c26e33240
2023-03-17[RESTRICT AUTOMERGE] Limit length of the name in <uses-permission>Jackal Guo
To mitigate a boot loop with a huge name string, this CL restricts the max length of the name in <users-permission> attr. Bug: 259942609 Test: manually using the PoC in the buganizer to ensure the symptom no longer exists. Change-Id: I35dde9d6bea9eb7c1b81e8cbadeeb908b3fb713f (cherry picked from commit on googleplex-android-review.googlesource.com host: de8ef32d020ce4efe5dcaae09c9b8e0cf7efb2db) Merged-In: I35dde9d6bea9eb7c1b81e8cbadeeb908b3fb713f
2023-03-15Merge cherrypicks of ['googleplex-android-review.googlesource.com/21334258', ↵Android Build Coastguard Worker
'googleplex-android-review.googlesource.com/21552446'] into tm-d3-release. Change-Id: I365925de023ac8f9ec1bbd3c5d23d8962b29ba9a
2023-03-15Fix launch failed when split non-resizable appTony Huang
We already handled such case on onRemoteAnimationFinishedOrCancelled but ignore remote animation cancelled case(Quikc switch) because it was a workaround for another bug. And that bug was already resolved so we could remove add cancel case back. Also rollback previous remove split pair patch due to we want to let all background split pair keep after fold or unfold. Fix: 267245649 Test: manual Test: pass existing tests Change-Id: I6ce80e6fc8c42e7b29180fd1cbf3f735da60434d (cherry picked from commit on googleplex-android-review.googlesource.com host: b2f35cc29ece191ab7ad199bc772fd4bd2db1b77) Merged-In: I6ce80e6fc8c42e7b29180fd1cbf3f735da60434d
2023-03-15Remove split pair according to last visible taskChilun Huang
Sometimes a split pair may exit in the background. At this time, the stage has no visible tasks and cause missing to reomve the split pair. This is to get the last visible task id to remove the split pair. Bug: 267245649 Test: atest WMShellUnitTests Change-Id: I995518f4f3171f545ef78f9c6c40b34310a041ac (cherry picked from commit on googleplex-android-review.googlesource.com host: af77803228c4c06f17be8e814dd1ab20bedceded) Merged-In: I995518f4f3171f545ef78f9c6c40b34310a041ac
2023-03-14Merge cherrypicks of ['googleplex-android-review.googlesource.com/21264485'] ↵Android Build Coastguard Worker
into tm-d3-release. Change-Id: If4bc180155c7b008856f3b7659ccdfa28e475d74
2023-03-14AudioManager: restore getVolumeGroupIdForAttributes behaviorEric Laurent
Allow getVolumeGroupIdForAttributes() to fallback to default volume group as it was before commiti c8e375e0. Bug: 267588552 Test: atest AudioServiceHostTest#testAudioVolumeGroups Change-Id: I571ffd8c1b51bbce943bfac4cd4f628e282fcc12 (cherry picked from commit on googleplex-android-review.googlesource.com host: 00c916c5f0fbb32cd502c739ab00fe49a3a834a6) Merged-In: I571ffd8c1b51bbce943bfac4cd4f628e282fcc12
2023-03-13Merge cherrypicks of ['googleplex-android-review.googlesource.com/21944836'] ↵Android Build Coastguard Worker
into tm-d3-release. Change-Id: Ic37a7609c5c3ff4a9304b398b1f18995c6358024
2023-03-13CameraManager: Swap propertyName / packageName in call to getProperty()Austin Borger
propertyName should be the first argument, not packageName. Bug: 272595790 Test: Added manifest property to sample app, trying all combinations Change-Id: Ida07d367a265f1bd703461dfbedc08f6cdeaba50 (cherry picked from commit on googleplex-android-review.googlesource.com host: 12c74fb19056f4566ebf0b8e0286787caed7540a) Merged-In: Ida07d367a265f1bd703461dfbedc08f6cdeaba50
2023-03-10Merge cherrypicks of ['googleplex-android-review.googlesource.com/21729388'] ↵Android Build Coastguard Worker
into tm-d3-release. Change-Id: I16da80deeb793e3ebc214e9a4ba620664edf6678
2023-03-10Explicitly re-show the keyguard if we were hiding.Josh Tsuji
Test: mash the SFPS w/ press to unlock, helps to disable AOD Bug: 266668894 Change-Id: Ie72872b91e97b3456a5cf20db92bc79b1b467676 (cherry picked from commit on googleplex-android-review.googlesource.com host: e4bfb8aa6aa97bad175ec8cd352ecb404e202157) Merged-In: Ie72872b91e97b3456a5cf20db92bc79b1b467676
2023-03-03Merge cherrypicks of ['googleplex-android-review.googlesource.com/21589328'] ↵Android Build Coastguard Worker
into tm-d3-release. Change-Id: Iefc5f65ab315321278a7727dd84c0ae5110bb5a2
2023-03-03RESTRICT AUTOMERGE Don't run faceDetect when fp is locked outBeverly
This is a temporary fix before ag/21479348 is merged. Bug: 269200614 Test: atest KeyguardUpdateMonitorTest Test: manually enroll fingerprint and face. After fingerprint lockout, face detect never runs until fingerprint is no longer locked out. Change-Id: Ic4ee8929b21d5855b4222b97637174bff9cae62b (cherry picked from commit 1a10f037a4e2d3b1ea1a869e4f9d6b1ecbda29d5) (cherry picked from commit a209b6329f6a004c26a05480b5abda8f6f2d43e0) Merged-In: Ic4ee8929b21d5855b4222b97637174bff9cae62b
2023-03-03Merge cherrypicks of ['googleplex-android-review.googlesource.com/21540525', ↵Android Build Coastguard Worker
'googleplex-android-review.googlesource.com/21714701'] into tm-d3-release. Change-Id: Ibbc31f4573671641aed82b262bfba5fc065dd813
2023-03-03Revert "RESTRICT AUTOMERGE Don't run faceDetect when fp is locked out"Eric(Feng Chou) Tsai
This reverts commit 1a10f037a4e2d3b1ea1a869e4f9d6b1ecbda29d5. Reason for revert: prevent build break on TD3A.230203.036 Bug:269200614 Change-Id: I212a4f28daf1d429d2fbb0751128c5d8523d28b4 (cherry picked from commit b7ae45336d02bb4994a5250b483d6b1a6cbd0e87) Merged-In: I212a4f28daf1d429d2fbb0751128c5d8523d28b4
2023-03-03Don't show alt bouncer if device is already unlockedBeverly
Test: atest AlternateBouncerInteractorTest Fixes: 270159532 Change-Id: Ib12fa3459049797ae2f81f5df5da4a696571c552 (cherry picked from commit ab756feea48cf460161e600be7b363720d24e434) Merged-In: Ib12fa3459049797ae2f81f5df5da4a696571c552
2023-03-02Merge cherrypicks of ['googleplex-android-review.googlesource.com/21585080'] ↵Android Build Coastguard Worker
into tm-d3-release. Change-Id: I9e947f481401b7897d9aacf63d46e5c3f1525b40
2023-03-02RESTRICT AUTOMERGE Don't run faceDetect when fp is locked outBeverly
This is a temporary fix before ag/21479348 is merged. Bug: 269200614 Test: atest KeyguardUpdateMonitorTest Test: manually enroll fingerprint and face. After fingerprint lockout, face detect never runs until fingerprint is no longer locked out. Change-Id: Ic4ee8929b21d5855b4222b97637174bff9cae62b (cherry picked from commit 1a10f037a4e2d3b1ea1a869e4f9d6b1ecbda29d5) Merged-In: Ic4ee8929b21d5855b4222b97637174bff9cae62b
2023-03-01Merge cherrypicks of ['googleplex-android-review.googlesource.com/21537113'] ↵Android Build Coastguard Worker
into tm-d3-release. Change-Id: I15d598243f24d5fd71ef13c00abccbe0b568312d
2023-03-01Eliminate acquiring WM lock when bind/unbind serviceRiddle Hsu
There were lock contention between AM and WM when an activity binds/unbinds service from: - Associate the connection to the activity - Add connection - Remove connection when WM is running layout/animation or updating config. This change applies: - Use a separated lock to manage the connection. - Cache the visible state for BIND_ADJUST_WITH_ACTIVITY. to eliminate the lock contention. Bug: 263755904 Bug: 204870457 Test: ActivityRecordTests#testActivityServiceConnectionsHolder Change-Id: Id5b7862866180064cb8ec863cd9cd6ccebdaea1e (cherry picked from commit 819b63c644831bb65e8f18f11591fdb58745c424) Merged-In: Id5b7862866180064cb8ec863cd9cd6ccebdaea1e
2023-02-24Merge cherrypicks of ['googleplex-android-review.googlesource.com/21380983'] ↵Android Build Coastguard Worker
into tm-d3-release. Change-Id: Ia32b3bf51e2471642787b74034f5996ebb7a946a
2023-02-24Update condition for when to show letterboxPablo Gamito
Makes sure we show the letterbox even during the period a window is requesting to be redrawn because of a layout change (i.e. orientation change) or for any other reason, if the window's associated surface is still visible. This avoids seeing a letterbox flicker when this happens. Bug: 256052489 Bug: 266635069 Test: Launch the dialer for a phone call or Google wallet app on a large screen device and make sure the letterbox doesn't flicker on launch. Change-Id: I7911ddc45c1ff839cc22be09caa5cc7ddc022d45 (cherry picked from commit fbcf72fa1b228a2885733dbba11e645893f01493) Merged-In: I7911ddc45c1ff839cc22be09caa5cc7ddc022d45
2023-02-23Merge cherrypicks of ['googleplex-android-review.googlesource.com/21343697', ↵Android Build Coastguard Worker
'googleplex-android-review.googlesource.com/21445893', 'googleplex-android-review.googlesource.com/21511266', 'googleplex-android-review.googlesource.com/21459145'] into tm-d3-release. Change-Id: I559f886aa883a9ed22692d9532a7f7cea7341928
2023-02-23Hide task bar on AODYunfan Chen
The previous logic only checks the existance of navigation bar. Check task bar as well to make sure task bar gesture bar can be hidden correctly on AOD. Inject StatusBarKeyguardViewManager into TaskbarDelegate instead of the reverse way to avoid loop injection. Bug: 259759616 Test: See the bug's reproduce steps. Test: atest StatusBarKeyguardViewManagerTest TaskbarDelegateTest Change-Id: I8f1764d1baf59a5fbf44ab6f92845eac7c231608 (cherry picked from commit 13ea9ede14b2a7838d1f8b4c6cb290859ccdf028) Merged-In: I8f1764d1baf59a5fbf44ab6f92845eac7c231608
2023-02-23Reset keyguard drawn tasks in onScreenTurnedOffNick Chameyev
Resets keyguard drawn tasks in onScreenTurnedOff callback instead of onScreenTurnedOn callback. This is necessary to avoid clearing of the tasks on the first boot when onScreenTurnedOn is called immediately after onScreenTurningOn from the WM side (without waiting for the SystemUI drawn callback). Bug: 268144550 Test: manual fold/unfold Test: check boot time with/without fix Test: atest com.android.keyguard.mediator.ScreenOnCoordinatorTest Change-Id: I780e2738ed2fcf8ec013058a2212612fb6874288 (cherry picked from commit edc4cb8c7d93b2ede0590bcf881887c8ffdf5955) Merged-In: I780e2738ed2fcf8ec013058a2212612fb6874288
2023-02-23Expose calls to get the inset sensitivity for the calling userWinson Chung
- Launcher is a per-user process so we should only use the per-user settings calls (since it doesn't hold INTERACT_ACROSS_USERS) Bug: 231648761 Bug: 269392826 Test: Unable to reproduce 269392826, but verified this doesn't break existing paths to adjust the insets Change-Id: I4dfaed2b393e44e0455448222c997facbb3f3116 (cherry picked from commit 8b4a5b3aa61069ffd216234fec974372d763c13c) Merged-In: I4dfaed2b393e44e0455448222c997facbb3f3116
2023-02-23Expose method for registering for current user's gesture inset scaleWinson Chung
Bug: 231648761 Test: Manual, verify taskbar insets change as user settings change Change-Id: I7dba74d608b25bdd81b5ed14d2b541d035b7cd84 (cherry picked from commit 68083f36e9c201a2ed8636e90e9bca2266e55a04) Merged-In: I7dba74d608b25bdd81b5ed14d2b541d035b7cd84
2023-02-22Merge cherrypicks of ['googleplex-android-review.googlesource.com/21535000'] ↵Android Build Coastguard Worker
into tm-d3-release. Change-Id: I7704cc1ebad8e6f406049681c115a36ab20ad9b6
2023-02-22Use alternateBouncerShowing instead of mOccludingAppRequestingFace to ↵Chandru S
trigger face auth while secure camera is launched. - mOccludingAppRequestingFace is set to true by `UdfpsKeyguardViewController#showUdfpsBouncer` - This doesn't happen for devices with non-UDFPS fingerpint sensors. - Using alternateBouncerShowing would work better here. Other changes: - Renames udfpsBouncerShowing to alternateBouncerShowing Fixes: 267132953 Test: atest KeyguardUpdateMonitorTest Test: manually, 1. Enroll fingerprint (non-udfps) & face 2. Suspend phone and go to Aod/Lockscreen 3. Double press power button to open camera over lockscreen 4. Open the gallery from the camera app. 5. Alternate FPS bouncer should be shown and face auth should also run Change-Id: I05d4256169a6fe491ed3c3be1cd6690341ad931f (cherry picked from commit a9443a091b05bee936925d15a219bad9f211a1d5) Merged-In: I05d4256169a6fe491ed3c3be1cd6690341ad931f (cherry picked from commit 7a86edb64745acaee75714eba7b3b11210e315a3) Merged-In: I05d4256169a6fe491ed3c3be1cd6690341ad931f
2023-02-22Merge cherrypicks of ['googleplex-android-review.googlesource.com/21417211'] ↵Android Build Coastguard Worker
into tm-d3-release. Change-Id: If35e7772db0d842d18f7af64564cb876bcfc65e1
2023-02-22Always listen for FP on alternateBouncer showingBeverly
Fixes: 268183230 Test: manually test by launching camera over a secure lock screen with side FP enrolled. try to access the (locked) camera roll, see alternate FP bouncer and successfully authenticate from the alternate bouncer Test: atest KeyguardUpdateMonitorTest Change-Id: Ic59067f5cdada0ff99b1e8e5e78539ee9ec04e34 (cherry picked from commit b64195e69e032e980ae9fbd08db8d09e3b7670b8) Merged-In: Ic59067f5cdada0ff99b1e8e5e78539ee9ec04e34
2023-02-20Merge cherrypicks of ['googleplex-android-review.googlesource.com/21473444', ↵Android Build Coastguard Worker
'googleplex-android-review.googlesource.com/21442364'] into tm-d3-release. Change-Id: I9e6f26d932349189d302280d4199ed16b8c28ba9
2023-02-20RESTRICT AUTOMERGE Do not throw exception for unknown device state policyNick Chameyev
Disables behavior when we throw an exception when the class with a custom device state policy not found. Test: atest com.android.server.devicestate.DeviceStatePolicyProviderTest Bug: 253490171 Change-Id: I25dcef291cc2700e7957c150f91bc2b94913bfe3 (cherry picked from commit c9647bfbaf45bb0f4307aee2f3dc8c897dce2970) (cherry picked from commit 88f1188953e105c096d200505bdb0f6478cdf2fc) Merged-In: I25dcef291cc2700e7957c150f91bc2b94913bfe3
2023-02-20Revert "[Submit only to device branch] Add custom device state provider"Cyan_Hsieh
This reverts commit 57766bb95afe69797b9e14a8d89a593a65c63236. reason for revert: replace with new patch bug:253490171 Change-Id: I95148bc2a76efbe2292f5ae0e0416f3e8a41aa5d (cherry picked from commit 4ad1c8a5d58de265f1d56d3b20209f3e409b3825) Merged-In: I95148bc2a76efbe2292f5ae0e0416f3e8a41aa5d
2023-02-20Merge cherrypicks of ['googleplex-android-review.googlesource.com/21338546', ↵Android Build Coastguard Worker
'googleplex-android-review.googlesource.com/21502572'] into tm-d3-release. Change-Id: Ie89d71f028fcbd233966139294ed53564b2b22cd
2023-02-20RESTRICT AUTOMERGE Revert change that would detectFp when FP is locked outBeverly
This reverts commit ff09044d12f936bab51ed9e7d33016616ce9e87e in addition to partially reverting ag/20141372. Bug: 269574598 Bug: 269774551 Change-Id: Iea66d7782b3365dea827b854783aeddaa5c6699c (cherry picked from commit c447ecea7462371208ddbece97d0ebb2ddb3f42d) Merged-In: Iea66d7782b3365dea827b854783aeddaa5c6699c (cherry picked from commit 26877cfd615a048a5abb94a72cd53a9722b8468e) Merged-In: Iea66d7782b3365dea827b854783aeddaa5c6699c
2023-02-20Remove indicator theme for non-device entry activityDiya Bera
Test: Manual - Authenticate in keyguard, indicator theme matches dynamic theme Authenticate in biometric prompt, indicator theme does not have dynamic theme Enrollment, indicator theme does not have dynamic theme atest SideFpsControllerTest Fixes: 257824090 Change-Id: Ie706bba14bd9cab2069290ebe370d7fb82b4e4e9 (cherry picked from commit d4a0af407c00182bbad7f50fcbe596e85c88ebcf) Merged-In: Ie706bba14bd9cab2069290ebe370d7fb82b4e4e9
2023-02-18[coastguard skipped] Merge sparse cherrypicks from ↵Android Build Coastguard Worker
sparse-9625939-L85000000958682058 into tm-d3-release. COASTGUARD_SKIP: Id8d67cc145a046d65eda1c5725c878b21256e632 COASTGUARD_SKIP: I95148bc2a76efbe2292f5ae0e0416f3e8a41aa5d COASTGUARD_SKIP: I25dcef291cc2700e7957c150f91bc2b94913bfe3 Change-Id: I95190cf1d56726c29e366c7329dcbebab95aaf53
2023-02-18Merge cherrypicks of ['googleplex-android-review.googlesource.com/21473444', ↵Android Build Coastguard Worker
'googleplex-android-review.googlesource.com/21442364'] into sparse-9625939-L85000000958682058. SPARSE_CHANGE: I95148bc2a76efbe2292f5ae0e0416f3e8a41aa5d SPARSE_CHANGE: I25dcef291cc2700e7957c150f91bc2b94913bfe3 Change-Id: Id8d67cc145a046d65eda1c5725c878b21256e632
2023-02-18RESTRICT AUTOMERGE Do not throw exception for unknown device state policyNick Chameyev
Disables behavior when we throw an exception when the class with a custom device state policy not found. Test: atest com.android.server.devicestate.DeviceStatePolicyProviderTest Bug: 253490171 Change-Id: I25dcef291cc2700e7957c150f91bc2b94913bfe3 (cherry picked from commit c9647bfbaf45bb0f4307aee2f3dc8c897dce2970) (cherry picked from commit 88f1188953e105c096d200505bdb0f6478cdf2fc) Merged-In: I25dcef291cc2700e7957c150f91bc2b94913bfe3
2023-02-18Revert "[Submit only to device branch] Add custom device state provider"Cyan_Hsieh
This reverts commit 57766bb95afe69797b9e14a8d89a593a65c63236. reason for revert: replace with new patch bug:253490171 Change-Id: I95148bc2a76efbe2292f5ae0e0416f3e8a41aa5d (cherry picked from commit 4ad1c8a5d58de265f1d56d3b20209f3e409b3825) Merged-In: I95148bc2a76efbe2292f5ae0e0416f3e8a41aa5d