Skip to content
Snippets Groups Projects
  1. Oct 04, 2023
  2. Oct 03, 2023
  3. Oct 02, 2023
  4. Sep 29, 2023
  5. Sep 28, 2023
  6. Sep 27, 2023
  7. Sep 22, 2023
    • Pawan Wagh's avatar
      Use readUniqueFileDescriptor in incidentd service · b4aaf180
      Pawan Wagh authored
      readFileDescriptor doesn't provide ownership of the fds. fdopen
      needs ownership of the fds. Fds read from parcel should be duped
      in this scenario and readUniqueFileDescriptor dups fds internally.
      
      Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer
      Test: atest incidentd_test
      Bug: 286931110
      Bug: 283699145
      Merged-In: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e
      Change-Id: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e
      (cherry picked from commit ba78ef27)
      b4aaf180
  8. Sep 15, 2023
  9. Sep 05, 2023
  10. Sep 03, 2023
  11. Aug 24, 2023
  12. Aug 23, 2023
  13. Aug 21, 2023
  14. Aug 17, 2023
  15. Aug 15, 2023
    • Songchun Fan's avatar
      [SettingsProvider] verify ringtone URI before setting · 1b234678
      Songchun Fan authored
      Similar to ag/24422287, but the same URI verification should be done in
      SettingsProvider as well, which can be called by apps via
      Settings.System API or ContentProvider APIs without using
      RingtoneManager.
      
      BUG: 227201030
      Test: manual with a test app. Will add a CTS test.
      Change-Id: Ic0ffa1db14b5660d02880b632a7f2ad9e6e5d84b
      1b234678
  16. Aug 14, 2023
    • Matías Hernández's avatar
      Visit Uris related to Notification style extras · a7e0c658
      Matías Hernández authored
      Even if the corresponding styles themselves were not applied to the Notification.Builder.
      
      Test: atest NotificationManagerServiceTest
      Bug: 287640400
      Change-Id: I25acab19be7dd486aabede8c91dbad5a1a217abf
      Merged-In: I25acab19be7dd486aabede8c91dbad5a1a217abf
      a7e0c658
  17. Aug 12, 2023
    • Aaron Liu's avatar
      DO NOT MERGE Ensure finish lockscreen when usersetup incomplete · 01ea2f91
      Aaron Liu authored
      Ensure that when the usersetup for the user is not complete, we do not
      want to go to lockscreen, even if lockscreen is not disabled.
      
      Bug: 222446076
      Test: add Unit test,
      Test: Wipe device, auth sim pin in setup, observe that lockscreen is
      not there.
      
      Change-Id: I8e33db8eb6e2c917966cab3d6a4f982670473040
      01ea2f91
  18. Aug 10, 2023
  19. Aug 09, 2023
  20. Aug 08, 2023
  21. Aug 07, 2023
  22. Aug 03, 2023
    • kumarashishg's avatar
      Use type safe API of readParcelableArray · 60bfbde7
      kumarashishg authored
      Bug: 291299076
      Test: Build and flash the device and check if it throws exception for
      non UsbInterface object
      Test: atest CtsUsbManagerTestCases
      (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:85d7e6712a9eeeed3bdd68ea3c3862c7e88bfe70)
      Merged-In: I2917c8331b6d56caaa9a6479bcd9a2d089f5f503
      Change-Id: I2917c8331b6d56caaa9a6479bcd9a2d089f5f503
      60bfbde7
    • Eric Biggers's avatar
      RESTRICT AUTOMERGE: SettingsProvider: exclude secure_frp_mode from resets · f0f020c2
      Eric Biggers authored
      When RescueParty detects that a system process is crashing frequently,
      it tries to recover in various ways, such as by resetting all settings.
      Unfortunately, this included resetting the secure_frp_mode setting,
      which is the means by which the system keeps track of whether the
      Factory Reset Protection (FRP) challenge has been passed yet.  With this
      setting reset, some FRP restrictions went away and it became possible to
      bypass FRP by setting a new lockscreen credential.
      
      Fix this by excluding secure_frp_mode from resets.
      
      Note: currently this bug isn't reproducible on 'main' due to ag/23727749
      disabling much of RescueParty, but that is a temporary change.
      
      Bug: 253043065
      Test: With ag/23727749 reverted and with my fix to prevent
            com.android.settings from crashing *not* applied, tried repeatedly
            setting lockscreen credential while in FRP mode, using the
            smartlock setup activity launched by intent via adb.  Verified
            that although RescueParty is still triggered after 5 attempts,
            secure_frp_mode is no longer reset (its value remains "1").
      Test: Verified that secure_frp_mode still gets changed from 1 to 0 when
            FRP is passed legitimately.
      Test: atest com.android.providers.settings.SettingsProviderTest
      Test: atest android.provider.SettingsProviderTest
      Change-Id: Id95ed43b9cc2208090064392bcd5dc012710af93
      (cherry picked from commit 9890dd7f)
      (changed Global.SECURE_FRP_MODE to Secure.SECURE_FRP_MODE,
       needed because this setting was moved in U)
      (removed static keyword from shouldExcludeSettingFromReset(),
       needed for compatibility with Java 15 and earlier)
      (resolved conflict in resetSettingsLocked())
      Merged-In: Id95ed43b9cc2208090064392bcd5dc012710af93
      f0f020c2
  23. Aug 02, 2023
  24. Aug 01, 2023
  25. Jul 31, 2023
  26. Jul 27, 2023
  27. Jul 26, 2023
    • Hongwei Wang's avatar
      Disallow loading icon from content URI to PipMenu · 5f5a87d8
      Hongwei Wang authored
      Bug: 278246904
      Test: manually, with the PoC app attached to the bug
      Merged-In: Idbd4081bf464e2b3420d4c3fd22ca37867d26bc0
      Merged-In: Ib3f5b8b6b9ce644fdf1173548d9078e4d969ae2e
      Change-Id: Iecfc1fb962de611cbe3c51a44ba4fded53925a7d
      5f5a87d8
Loading