summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-05-02[CDM][CMD] Check permissions for CDM shell commandsGuojing Yuan
Override handleShellCommand instead of onShellCommand because Binder.onShellCommand checks the necessary permissions of the caller. Bug: 313428840 Test: manually tested CDM shell commands (cherry picked from commit 1761a0fee9c2cd9787bbb7fbdbe30b4c2b03396e) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:54c968aaa66e9364bc0380c9a57af5c6844759aa) Merged-In: I5539b3594feb5544c458c0fd1061b51a0a808900 Change-Id: I5539b3594feb5544c458c0fd1061b51a0a808900
2024-05-02Resolve message/conversation image Uris with the correct user idMatías Hernández
Bug: 317503801 Test: atest ExpandableNotificationRowTest (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:44524f06f9d652c596d542e0882eb2f17594f154) Merged-In: I11c5b39f2d9d8f0788acab43640a6d4abcd5a179 Change-Id: I11c5b39f2d9d8f0788acab43640a6d4abcd5a179
2024-04-29Snap for 11777034 from e4596c37cbb7eb2242ce31b6bb73ebce906647fe to ↵Android Build Coastguard Worker
u-keystone-qcom-release Change-Id: I37d00f286c45b7617a58e028526be4d88fa13511
2024-04-29Merge "change the initialization order for adding overlays" into ↵Treehugger Robot
u-keystone-qcom-dev
2024-04-29Disable following applications at runtimevidyalak
Disable following applications from installation at runtime for QSPA enabled targets 1- SystemUI 2- Launcher3QuickStepGo 3- PrintSpooler 4- StatementService 5- Calendar CRs-Fixed: 3736422 Change-Id: I72479ece16510d71b6107f8a5d6a12ed213a0f6c
2024-04-20Merge b953704967c84364a91322fa3a7859ed017e33a3 on remote branchLinux Build Service Account
Change-Id: Id7ffd77b7c7597a6899cf6bc70bdf1cf84360465
2024-04-16Merge cherrypicks of ['googleplex-android-review.googlesource.com/26703706'] ↵Android Build Coastguard Worker
into udc-platform-release. Change-Id: Ib7027f8380faf6ee04ea0ef76a2149680d573f65
2024-04-16[RESTRICT AUTOMERGE] AccessibilityManagerService: remove uninstalled ↵Ameer Armaly
services from enabled list after service update. Bug: 326485767 Test: atest AccessibilityEndToEndTest#testUpdateServiceWithoutIntent_disablesService (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f6192d3a77520d40b6a93de8f45400e19f5ba29f) Merged-In: Ia86857d58ebab925ec6e55f9e5fa64e265326ec0 Change-Id: Ia86857d58ebab925ec6e55f9e5fa64e265326ec0
2024-04-16Adjust max length of broadcast name to 32xiaowang
CRs-Fixed: 3659038 Change-Id: I6b7f380ea9a8cbb612a4a5c8a6e91808b4f9237c
2024-04-15Snap for 11710914 from 1cff81f46dcd05c86d7c13fc26892981c276aa68 to ↵Android Build Coastguard Worker
u-keystone-qcom-release Change-Id: I52bb7aa6347293380e6a25ea7068d43fad8252a6
2024-04-15Merge cherrypicks of ['googleplex-android-review.googlesource.com/25603480', ↵Android Build Coastguard Worker
'googleplex-android-review.googlesource.com/26485132', 'googleplex-android-review.googlesource.com/26307234', 'googleplex-android-review.googlesource.com/26151073', 'googleplex-android-review.googlesource.com/26720245', 'googleplex-android-review.googlesource.com/26682251', 'googleplex-android-review.googlesource.com/25839619', 'googleplex-android-review.googlesource.com/26554109', 'googleplex-android-review.googlesource.com/26737443', 'googleplex-android-review.googlesource.com/26721087'] into udc-platform-release. Change-Id: I7d482f531f071485012d2a9694b445b8ee1c35c1
2024-04-15Check hidden API exemptionsHans Boehm
Refuse to deal with newlines and null characters in HiddenApiSettings.update(). Also disallow nulls in process start arguments. Bug: 316153291 Test: Treehugger for now (cherry picked from commit 7ba059e2cf0a2c20f9a849719cdc32b12c933a44) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:60669aa49aba34c0950d6246bd95b54f91a3c8e8) Merged-In: I83cd60e46407a4a082f9f3c80e937dbd522dbac4 Change-Id: I83cd60e46407a4a082f9f3c80e937dbd522dbac4
2024-04-15[DO NOT MERGE][Autofill Framework] Add in check for intent filter whenHaoran Zhang
setting/updating service For test, I registered two tests around on ABTD. CtsAutoFillServiceTestCases module is passing except three known failures: Test run link: - https://android-build.corp.google.com/builds/abtd/run/L33300030002610600 - https://android-build.corp.google.com/builds/abtd/run/L58100030002616607 Bug: b/324874908 Test: atest CtsAutoFillServiceTestCases (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:141d9d050346bfc4673c429382deb1b3d210f6ad) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b59fa891858c51480b387e24ae03a9b55b3e30a6) Merged-In: I51c2e3788ac29ff4d6b86aa2a735ff2ea1463a77 Change-Id: I51c2e3788ac29ff4d6b86aa2a735ff2ea1463a77
2024-04-15[Bugfix]migrate user restrictions to DevicePolicyEngineWen Zhang
Migrate user restrictions to DevicePolicyEngine, otherwise user restrictions will not be able to be queried when upgrading from Android 13 OTA to Android 14. Bug: 323452689 Bug: 318497672 Test: case 1:Android 13 upgrade to Android 14 1.install TestDPC on Android 13 2.set TestDPC as Device Owner 3.set disallow factory reset 4.update Android 14 via OTA 5.The reset to factory settings in the settings app is still unavailable. case 2:Android 14(bad version) upgrade to Android 14(new version) 1.install TestDPC on Android 13 2.set TestDPC as Device Owner 3.set disallow factory reset 4.update Android 14(bad version) via OTA 5.The reset to factory settings in the settings app is still available. 6.update Android 14(new version) via OTA 7.The reset to factory settings in the settings app is unavailable. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:93ba63a2bfdda47fb9376efaad792bc96a106947) Merged-In: I7c63d52300a1c5aa0678f29c2e4b15195411517c Change-Id: I7c63d52300a1c5aa0678f29c2e4b15195411517c
2024-04-15Fix bug in screen capture and lock task migrationsKholoud Mohamed
Bug: 318497672 Test: manual (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9d809f92e8a026789115a0c6de7124da70101845) Merged-In: Id0ac7d06b57f690d114217f2a34c2a1e8c60a277 Change-Id: Id0ac7d06b57f690d114217f2a34c2a1e8c60a277
2024-04-15Update media_controls_lock_screen setting behaviorBeth Thibodeau
When the setting is disabled, hide the media carousel everywhere when the device is on lockscreen, not just in the keyguard layout Bug: 314333719 Test: manual Test: atest MediaHierarchyManagerTest Flag: NONE (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9f3903ed982b81a5634fb93b75ca3949daefdb17) Merged-In: I4f618e4013db894291e6fca9d49bceb1cb7e4bd9 Change-Id: I4f618e4013db894291e6fca9d49bceb1cb7e4bd9
2024-04-15Add more checkKeyIntent checks to AccountManagerService.Dmitry Dementyev
Another verification is needed after Bundle modification. Bug: 321941232 Test: manual (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:36db8a1d61a881f89fdd3911886adcda6e1f0d7f) Merged-In: I9e45d758a2320328da5664b6341eafe6f285f297 Change-Id: I9e45d758a2320328da5664b6341eafe6f285f297
2024-04-15Hide window immediately if itself doesn't run hide animationRiddle Hsu
The condition was overextended in commit 9bca6b4 which checks if the parent container of the window is animating. That causes the window to wait for animation finish to update visibility, but the animation finish callback won't happen because itself is not animating. Then the window that should be hidden remains on screen. Bug: 302431573 Test: atest WindowStateTests#testIsOnScreen_hiddenByPolicy (cherry picked from commit 9add9281ffc120c81a7d125892803f1beb5ddcb3) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:10a7f0914c87f4af521b5cbb13e84a83dacebf82) Merged-In: Iafc2b2c2a24d8fc8d147354ef2f0b4afeeb510c5 Change-Id: Iafc2b2c2a24d8fc8d147354ef2f0b4afeeb510c5
2024-04-15Fix error handling for non-dynamic permissionsYi-an Chen
We only allow removing dynamic permissions. When removePermission() is called for a non-dynamic permission, in addition to logging it, we should also return early to avoid the removePermission() call. Test: manual Bug: 321555066 Fixes: 321711213 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:528a87e90ff9354581d54fd37fbe9f95cccbcdb1) Merged-In: Ie2f43663bc71a06ffadb868d2d0eea5ee78f76e5 Change-Id: Ie2f43663bc71a06ffadb868d2d0eea5ee78f76e5
2024-04-15Check for NLS bind permission when rebinding servicesValentin Iftime
Also, after updating packages with NLS components, check the approved services and remove from approved list if missing permissions. Test: atest ManagedServicesTest Bug: 321707289 (cherry picked from commit 24b13a64f9f5e5aa7f45a2132806d6c74e2c62dc) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4d4224c1b9f87a156324153854a1567e842ecb22) Merged-In: I11901755ec430c6e3145def9d67e4e63cda00806 Change-Id: I11901755ec430c6e3145def9d67e4e63cda00806
2024-04-15Added throttle when reporting shortcut usagePinyao Ting
Bug: 304290201 Test: manual (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bd88f35c6797b1795d1150af92760531ff73f14f) Merged-In: I96370cbd4f6a55f894c1a93307e5f82dfd394652 Change-Id: I96370cbd4f6a55f894c1a93307e5f82dfd394652
2024-04-11Merge u-mpr-2024-05Omkar Sai Sandeep Katadi
Change-Id: I3114d5f94174cebab97d1e51d322d4b123d2f483
2024-04-03change the initialization order for adding overlaysEvan Laird
ScreenDecorations adds "overlay" views to the window hierarchy, which house the appropriate decorations for various pieces of SystemUI. This change simply swaps the order in which we initalize those overlays such that the HWC overlay (special hardware-accelerated layers), if available, are always added last and are thus at the highest z-index. The reasoning for this is that some display pipelines are optimized to only process a HWC layer if it is on top. Note that this change means that any UI hosted in a software layer can potentially be covered by the HWC layer which is now on-top. This shouldn't be an issue in practice. Test: on device with HWC support, launch camera app and verify from SurfaceFlinger dumpsys that the HWC layers have the highest z-index Bug: 313038036 Flag: NONE Change-Id: I2e88774db0a40918c7f0be580ff66fe7a2093798 CRs-Fixed: 3657031
2024-04-01Snap for 11653352 from defd700a3a47d07595f9eb0aeb6cb434e84f5f46 to ↵Android Build Coastguard Worker
u-keystone-qcom-release Change-Id: Ia9cba8beb07fd05ce5eeb1c90c2ae2dbbcbb9ed8
2024-03-29base: allow only A2DP devices to SHO between themAnand Mohan
Added check to allow SHO to A2DP device only if previously connected device was also A2DP device. CRs-Fixed: 3721524 Change-Id: Ie7b7188c29df64faa2525308685a6a505e0a5b82
2024-03-28Snap for 11634632 from fc7ce7b3003258e87f50510d9cf5bb22ecd2450b to ↵Android Build Coastguard Worker
u-keystone-qcom-release Change-Id: I59d263c7ef04e07ff21e6b05c2cfbe2fc2e46f3b
2024-03-27Snap for 11632697 from 36be1b1c434cfcbe7a574c473e90ab66513ee8e1 to ↵Android Build Coastguard Worker
u-keystone-qcom-release Change-Id: I7dff4e7dcbb8f3acb17aed1ac4ac40e2a04a1027
2024-03-27Merge changes from topic "am-9ea47014-49b6-419e-b079-e808f02ed6a9" into ↵Treehugger Robot
u-keystone-qcom-dev * changes: [automerger skipped] Revert "Dynamically enable multi-peripheral mode" skipped: 2c4fc9da72 Revert "Dynamically enable multi-peripheral mode"
2024-03-27Merge "SystemUI:check ServiceStatus for all subs to show Emergency button" ↵Treehugger Robot
into u-keystone-qcom-dev
2024-03-26Snap for 11623791 from afd53ce120724ef74bdb5dc4e43e0626ea469800 to ↵Android Build Coastguard Worker
u-keystone-qcom-release Change-Id: Idec4c12d30b494c38f2c8b26a317040febef2506
2024-03-22Merge u-mpr-2024-04Samir Ahmad
Change-Id: Ie2af1223a07d6c7852037c869010a75c54d25f46
2024-03-20Merge tag 'LA.QSSI.14.0.r1-13400-qssi.0' into uminekoalk3pInjection
LA.QSSI.14.0.r1-13400-qssi.0 Change-Id: I8a31e3979ad392c553c9110ae9ff2aad84b35cb7
2024-03-14SystemUI:check ServiceStatus for all subs to show Emergency buttonruiliu
SystemUI use latest service status to determine whether emergency button should be shown. In some corner cases, different sub's service status's mEmergencyOnly is different. So we need to check mEmergencyOnly status for all subs to determine its visibility. Change-Id: Ia2a20485ccc2058dc0e20394857102948a123b1f CRs-Fixed: 3759441
2024-03-11[automerger skipped] Revert "Dynamically enable multi-peripheral mode" ↵Arvind Kumar
skipped: 2c4fc9da72 Change-Id: I5553dde82baba5971e42f44dd322c58b8680111c
2024-03-09Merge 0e089f46ccb3e64942f3492480053af623432570 on remote branchLinux Build Service Account
Change-Id: I03a751fc06daa8a9a565128334fb901475781025
2024-03-08Merge cherrypicks of ['googleplex-android-review.googlesource.com/26238492'] ↵Android Build Coastguard Worker
into udc-platform-release. Change-Id: I60d1c2e159027092a914ae02f2bf687bd2866990
2024-03-08Verify URI permission for channel sound update from NotificationListenerServiceValentin Iftime
Check that a privileged NotificationListenerService (CDM) has the permission to access the sound URI when updating a notification channel. Test: atest com.android.server.notification.NotificationManagerServiceTest#testUpdateNotificationChannelFromPrivilegedListener_noSoundUriPermission Bug: 317357401 (cherry picked from commit 9b7bbbf5ad542ecf9ecbf8cd819b468791b443c0) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:71cfb89a1cdaf743b7b67c724dfbbaa0cca98efc) Merged-In: Ic7d2e96e43565e98d2aa29b8f2ba35c142387ba9 Change-Id: Ic7d2e96e43565e98d2aa29b8f2ba35c142387ba9
2024-03-08Merge cherrypicks of ['googleplex-android-review.googlesource.com/25097585'] ↵Android Build Coastguard Worker
into udc-platform-release. Change-Id: I363c06769dd7fa17112d3f042a34de16512ae8ce
2024-03-08Prioritize system toastsValentin Iftime
Insert toasts from system packages at the front of the queue to ensure that apps can't spam with toast to delay system toasts from showing. Also increase Clipboard paste warning toasts length to LENGTH_LONG. Test: atest NotificationManagerServiceTest Bug: 293301736 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:939612739c280b0204fe36d7549a77b94d55f3db) Merged-In: I13547f853476bc88d12026c545aba9f857ce8724 Change-Id: I13547f853476bc88d12026c545aba9f857ce8724
2024-03-01telephony: Don't throw IllegalStateException when service = nullReallySnow
Change-Id: I4103602f69b20f0bb079221b8fc11408fb59ecc1
2024-03-01fixup! SystemUI: Revert Qualcomm Telephony Icon CustomizationsAdithya R
Change-Id: Ia777a9ae7747b9387375d30a1f86fabc5f79fc80
2024-03-01Merge tag 'LA.QSSI.14.0.r1-13000-qssi.0' into uminekoalk3pInjection
LA.QSSI.14.0.r1-13000-qssi.0 Change-Id: Idbd1b740437597fe4ff55bbc95a5dd7545887ab2
2024-02-22Snap for 11480151 from e82c8b044f5d0b7561a4a891f9853e0ef1f3dd36 to ↵Android Build Coastguard Worker
u-keystone-qcom-release Change-Id: I45330e1bf79dfd574dc6682aed8cd72ee00caaa0
2024-02-20Merge u-mpr-2024-03Matt Lee
Change-Id: I8a2ce343446f882ea59a6988d78d85c2315899b4
2024-02-19Revert "Dynamically enable multi-peripheral mode"Vaibhav Raut
This reverts commit f58eb1d14fc386e1634bbe18ec1c7f953fa590eb. CRs-Fixed: 3721555 Change-Id: I47d135ddcc6cc7bac1bae4461690b7c3b82bda20
2024-02-15Merge cherrypicks of ['googleplex-android-review.googlesource.com/24762427', ↵Android Build Coastguard Worker
'googleplex-android-review.googlesource.com/24790879', 'googleplex-android-review.googlesource.com/25705932', 'googleplex-android-review.googlesource.com/25831313', 'googleplex-android-review.googlesource.com/25951757', 'googleplex-android-review.googlesource.com/25841331', 'googleplex-android-review.googlesource.com/25894415'] into udc-platform-release. Change-Id: I4aae760db49e8514e6308d01fe42961ba7ee418f
2024-02-15Fix security vulnerability that creates user with no restrictions when ↵Tetiana Meronyk
accountOptions are too long. Bug: 293602970 Test: atest UserManagerTest#testAddUserAccountData_validStringValuesAreSaved_validBundleIsSaved && atest UserManagerTest#testAddUserAccountData_invalidStringValuesAreTruncated_invalidBundleIsDropped (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:33a90988cf3b59a3b8dc9f699d155688be8d5623) Merged-In: I23c971f671546ac085060add89485cfac6691ca3 Change-Id: I23c971f671546ac085060add89485cfac6691ca3
2024-02-15Stop marking apps as privileged if they are not signed properly.Alex Buynytskyy
Fixes: 311374917 Test: atest android.content.pm.cts.PackageManagerTest (cherry picked from commit 3ee5dfdcba047051ce81dca0696d6ddfeafe2d98) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:06775341ad7d77410798f95117cbee7a1a02c201) Merged-In: I5b5b81cf43b06837a22c8dfd170a112106dd64c1 Change-Id: I5b5b81cf43b06837a22c8dfd170a112106dd64c1
2024-02-15isUserInLockDown can be true when there are other strong authBeverly
requirements Bug: 315206668 Bug: 218495634 Flag: None Test: manual, atest LockPatternUtilsTest (cherry picked from commit d341f1ecdb011d24b17358f115391b3f997cb179) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:93149616ba8255ec82877e43d4b41c2ebd6abf24) Merged-In: I5e979a7822dd7254b4579ab28ecf96df1db44179 Change-Id: I5e979a7822dd7254b4579ab28ecf96df1db44179
2024-02-15Don't store invalid pkgs when migrating filtersJulia Reynolds
Test: NotificationManagerServiceTest Test: call method from test app, view policy xml file Flag: none Bug: 305926929 (cherry picked from commit bfa04e208995b05eee2a5336667f4e2dcd19fd30) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:85ccbd33e3766bbd22ced332cb5b9e983c2707db) Merged-In: Ib7fcb733edd2cf2cbac0a7699763a5fe993b467e Change-Id: Ib7fcb733edd2cf2cbac0a7699763a5fe993b467e