Skip to content
Snippets Groups Projects
  1. May 21, 2024
  2. May 20, 2024
    • Hongwei Wang's avatar
    • Hongwei Wang's avatar
      Rate limiting PiP aspect ratio change request · add219bc
      Hongwei Wang authored
      Using CountQuotaTrack to limit how frequent an app can request aspect
      ratio change via PictureInPictureParams, which could result flood of PiP
      resizing requests and freeze the PiP window.
      
      Note that CountQuotaTrack is initialized out of the WM lock to avoid
      dead lock with the AM one.
      
      Bug: 283103220
      Test: Manually, using the POC app
      Test: Manually, switching YT PiP video functions at a regular rate
      Test: atest WindowOrganizerTests ActivityThreadTest
      Merged-In: Icb7dd17bbf7df573a9bb28f3dc56e90e78384f4f
      Change-Id: Icb7dd17bbf7df573a9bb28f3dc56e90e78384f4f
      add219bc
  3. May 15, 2024
    • Nan Wu's avatar
      RESTRICT AUTOMERGE Backport preventing BAL bypass via bound service · 8fdf4a34
      Nan Wu authored
      Apply similar fix for WallpaperService to TextToSpeech Service,
      Job Service, Print Service, Sync Service and MediaRoute2Provider Service
      
      Bug: 232798473, 232798676, 336490997
      Test: Manual test. BackgroundActivityLaunchTest
      Change-Id: Ib113e45aa18296b4475b90d6dcec5dd5664f4c80
      8fdf4a34
  4. May 14, 2024
  5. May 06, 2024
  6. May 03, 2024
  7. May 01, 2024
  8. Apr 24, 2024
  9. Apr 23, 2024
    • Yi-an Chen's avatar
      Fix security vulnerability of non-dynamic permission removal · 35d77a77
      Yi-an Chen authored
      The original removePermission() code in PermissionManagerService
      missed a logical negation operator when handling non-dynamic
      permissions, causing both
      testPermissionPermission_nonDynamicPermission_permissionUnchanged and
      testRemovePermission_dynamicPermission_permissionRemoved tests in
      DynamicPermissionsTest to fail.
      
      The corresponding test DynamicPermissionsTest is also updated in the
      other CL: ag/27073864
      
      Bug: 321711213
      Test: DynamicPermissionsTest on sc-dev and tm-dev locally
      Change-Id: Id573b75cdcfce3a1df5731ffb00c4228c513e686
      Merged-In: Ia146d4098643d9c473f8c83d33a8a125a53101fc
      35d77a77
  10. Apr 17, 2024
  11. Apr 12, 2024
  12. Apr 06, 2024
  13. Apr 05, 2024
  14. Apr 04, 2024
  15. Apr 03, 2024
  16. Apr 02, 2024
  17. Apr 01, 2024
  18. Mar 27, 2024
  19. Mar 26, 2024
  20. Mar 25, 2024
    • Austin Borger's avatar
      Fix vulnerability in AttributionSource due to incorrect Binder call · 694ba528
      Austin Borger authored
      AttributionSource uses Binder.getCallingUid to verify the UID of the
      caller from another process. However, getCallingUid does not always
      behave as expected. If the AttributionSource is unparceled outside a
      transaction thread, which is quite possible, getCallingUid will return
      the UID of the current process instead. If this is a system process,
      the UID check gets bypassed entirely, meaning any uid can be provided.
      
      This patch fixes the vulnerability by enforcing that the AttributionSource
      be unparceled in a transaction only. If it is not, a SecurityException
      will be thrown.
      
      Bug: 267231571
      Test: Smoke test on cuttlefish.
      Test: v2/android-virtual-infra/test_mapping/presubmit-avd
      Change-Id: Iee28c3901ee1041e00dca444c37c90d619e19b26
      Merged-In: I3f228064fbd62e1c907f1ebe870cb61102f788f0
      Merged-In: Ic301a8518b8e57e1c9a2c9f2f845e51dca145257
      694ba528
    • Beth Thibodeau's avatar
      Update media visibility on lock screen · 0d533a9c
      Beth Thibodeau authored
      Media carousel visibility on lock screen follows the notification
      setting - if notifications are disabled on lock screen, hide media carousel
      everywhere, not just in the keyguard layout
      
      Bug: 314333719
      Test: manual
      Test: atest MediaHierarchyManagerTest
      Flag: NONE
      
      Change-Id: I4f618e4013db894291e6fca9d49bceb1cb7e4bd9
      Merged-In: I4f618e4013db894291e6fca9d49bceb1cb7e4bd9
      0d533a9c
    • Matías Hernández's avatar
      Resolve message/conversation image Uris with the correct user id · 3b913c42
      Matías Hernández authored
      Bug: 317503801
      Test: atest ExpandableNotificationRowTest
      Change-Id: I11c5b39f2d9d8f0788acab43640a6d4abcd5a179
      Merged-In: I11c5b39f2d9d8f0788acab43640a6d4abcd5a179
      3b913c42
    • Riddle Hsu's avatar
  21. Mar 22, 2024
  22. Mar 21, 2024
  23. Mar 13, 2024
Loading