Skip to content
Snippets Groups Projects
  1. Apr 10, 2024
    • wilsonshih's avatar
      Remove onBackInvoked workaround for recents animation. · 6c174656
      wilsonshih authored
      Legacy recents animation was broken for a while after enable shell
      transition, it's unnecessary to maintain it.
      For shell transition, after introduce RecentsTransitionHandler, it
      will set focus window to recents activity in setInputConsumerEnabled
      (ref I10e397db956cad90a4510c326163600f0ed63514), so onBackCallback can
      handled by focus window directly.
      
      Bug: 333428882
      Test: tried back gesture work in recents when either enable/disable
      enable_predictive_back_gesture.
      
      Change-Id: I2e2d6dc7adf0dd9b821b65ff328e434c2600bcf5
      6c174656
  2. Apr 03, 2024
  3. Apr 02, 2024
    • Samuel Huang's avatar
      Add SATELLITE_COMMUNICATION to Settings app · bd438e2e
      Samuel Huang authored
      SATELLITE_COMMUNICATION is a signature|privileged permission. Used to get satellite status.
      
      Bug: 330585109
      Test: presubmit
      Change-Id: I827c7dbf5524a56896ad8f9ba2e952c0e09db996
      Merged-In: I4e0ffa2ed755b06b5dc05b716a26fa3222b15d14
      bd438e2e
  4. Mar 29, 2024
    • Ahaan Ugale's avatar
      Show Toast on applying SensitiveContentProtection · a278221e
      Ahaan Ugale authored
      This happens on two paths:
      * Window already visible: When the SensitiveContentProtection system
        service adds a new window/app into the protected list, find all
        visible windows and Toast for any that are protected. This also covers
        the case where projection is started after the window is visible.
      * Window becomes visible: Notify WMS and Toast if the window is in the
        protected list.
      
      We can't reuse the approach taken for recording detection callbacks to
      listen for visibility changes since that works at an app-level, while
      we need window-level visibility events. Also the new approach handles
      non-Activity windows.
      
      The logic is kept in WMS since it holds both the protected list and the
      visibility of windows. Additionally, this works better for applying the
      Toast to FLAG_SECURE windows in the future (for a consistent UX).
      
      Fixes: 323580163
      Test: manual - for both login and otp-app hiding: trigger protection
       after window is shown; minimize app and re-open.
      Test: manual - send OTP to bubble conversation and expand bubble
      Test: atest CtsSensitiveContentProtectionTestCases
      Change-Id: If6628b445d6351160c66ff89411f798ce44bf770
      a278221e
    • Samuel Huang's avatar
      Add SATELLITE_COMMUNICATION to Settings app · 25a0eddc
      Samuel Huang authored
      SATELLITE_COMMUNICATION is a signature|privileged permission. Used to get satellite status.
      
      Bug: 315928920
      Test: presubmit
      Change-Id: I4e0ffa2ed755b06b5dc05b716a26fa3222b15d14
      25a0eddc
  5. Mar 28, 2024
  6. Mar 25, 2024
  7. Mar 22, 2024
    • Arpan's avatar
      Fixing permission for Biometric Logos in CredMan · ca9b3460
      Arpan authored
      The issue is thoroughly documented in the bug, but this change ensures
      that the biometric logo setting can be done. There is strange behaviour
      with 'signature|privilege' where the new 'privilege' scope appears to
      break the 'OR' relationship for our framework UI codebase.
      
      Now, we've added the framework UI package within the privapp allowlist
      for that single permission.
      
      Bug: 330906693
      Test: Build and UI Test On b/329874867
      
      Change-Id: Ic9dcd4a7e31f5b439ccd807b4ea454cf2cee55a0
      ca9b3460
  8. Mar 20, 2024
    • Chaohui Wang's avatar
      Add SCHEDULE_EXACT_ALARM to Settings app · 463f277e
      Chaohui Wang authored
      SCHEDULE_EXACT_ALARM already be used in the Settings's PeriodicJobManager, it's better to explicit declare the usage.
      
      Bug: 329046490
      Change-Id: I87412f6b7d2da0451184ee635019402a4cd0760b
      Test: presubmit
      463f277e
  9. Mar 19, 2024
    • Harry Cutts's avatar
      Sony DualShock 4: disable drumroll suppression · a4b33afa
      Harry Cutts authored
      After further investigation, it seems that while disabling drumroll
      detection by speed change fixed pointer movement issues, the bad pointer
      speed values were also breaking tap-to-click. I can't produce drumroll
      issues on this touchpad anyway, so let's just disable drumroll
      suppression completely.
      
      Bug: 330300506
      Bug: 329585708
      Test: connect DualShock 4 by Bluetooth, check tapping to click works,
            drum your fingers on the pad and check the cursor doesn't jump
            around
      Change-Id: Ie645ac5b4c6fc5c2ea4fc3611d815baa21ecd5c9
      a4b33afa
  10. Mar 18, 2024
  11. Mar 14, 2024
  12. Mar 13, 2024
  13. Mar 12, 2024
  14. Mar 08, 2024
    • Stefan Andonian's avatar
      Give SystemUI Permission to start Perfetto/Winscope Traces. · 1bfcabfb
      Stefan Andonian authored
      The permission changes were originally for google devices only, but they
      actually need to be for all aosp-only devices as well since this feature
      is targeting aosp-only devices.
      
      Bug: 305049544
      Flag: ACONFIG record_issue_qs_tile DEVELOPMENT
      Test: Manually tested that everything works on device. Presubmit is also
      proof that this change works on AOSP because the build doesn't break.
      
      Change-Id: Ic1b62512a00eba578127757fffdcdb3ef7807a89
      1bfcabfb
  15. Mar 06, 2024
    • Anton Potapov's avatar
      Add Volume Panel spatial audio UI · 9a34d538
      Anton Potapov authored
      Flag: aconfig new_volume_panel TEAMFOOD
      Test: atest SpatialAudioAvailabilityCriteriaTest
      Test: manual on phone with compatible headphones
      Bug: 327186808
      Change-Id: I53ca078c246e24121fd3c593c24a12e8a13b3d88
      9a34d538
    • Tian Xie's avatar
      Revert "Expose `FaceManager` APIs as `@SystemApi`." · 5fe554bf
      Tian Xie authored
      Revert submission 25750009-facemanager_20240110
      
      Reason for revert: Project cancelled.
      
      Reverted changes: /q/submissionid:25750009-facemanager_20240110
      
      Test: Local
      Change-Id: I7e329f311b3eb599195f415cf39dc28bb11139a1
      5fe554bf
  16. Mar 04, 2024
  17. Feb 28, 2024
    • Pablo Gamito's avatar
      Increment protolog version · 9abac8a7
      Pablo Gamito authored
      Because we now dump 64 bit integers instead of 32 bit integers we need to have a different protolog version so we know which viewer config to use in Winscope
      
      Bug: 327002914
      
      Test: collected protolog trace in Winscope
      Change-Id: Iab3071952ff7957a11a0f01f09cfaa4306a7f7ae
      9abac8a7
  18. Feb 27, 2024
  19. Feb 26, 2024
  20. Feb 22, 2024
    • Pablo Gamito's avatar
      Update ProtoLog build rules · 5fe2c80e
      Pablo Gamito authored
      ProtoLogTool now has additional parameters to support Perfetto tracing. We also need to generate and include a proto version of the viewer configuration.
      
      Flag: ACONFIG android.tracing.Flags.perfettoProtolog DEVELOPMENT
      Test: mp droid && atest FrameworksServicesTests
      Bug: 276432490
      Change-Id: I26929eed96faae04bec65ae5eaf86afda75cb83c
      5fe2c80e
  21. Feb 15, 2024
    • Matt Casey's avatar
      Add compat change permissions to privapp list for intentresolver · 00b06c0f
      Matt Casey authored
      Additional permissions were needed to avoid SecurityException when
      enforcing compat changes in new APIs. See other change in this topic.
      
      Without this CL, devices would fail to boot (discovered this via
      presubmits on the other CL).
      
      Bug: 325329535
      Test: Presubmit device boot tests
      Change-Id: If6d2230ea63f0b297b8b35bdb9c824a266e2d709
      00b06c0f
  22. Feb 14, 2024
    • Chavi Weingarten's avatar
      Create generic transferTouchGesture API · 9fd2b649
      Chavi Weingarten authored
      Instead of specifying from host to embedded or vice versa for
      tranferTouchGesture, create a generic API that allows you to request
      transferring touch gesture from an InputTransferToken to another
      InputTransferToken.
      
      Test: SurfaceControlInputReceiverTests
      Test: AttachedSurfaceControlTest
      Test: SurfaceControlViewHostTests
      Flag: ACONFIG com.android.window.flags.surface_control_input_receiver TRUNKFOOD
      Bug: 278757236
      Change-Id: I58beb1fe041f251db6c9cf90688bd2554bd2b399
      9fd2b649
  23. Feb 13, 2024
  24. Feb 12, 2024
    • Pranav Madapurmath's avatar
      Formalize BlockedNumberContract.SystemContract APIs · 762bf668
      Pranav Madapurmath authored
      Formalize the BlockedNumberContract.SystemContract APIs as part of the
      Telecom modularization. There are several hidden APIs that are being
      referenced from Telecom that need to be resolved. The
      blockStatusToString() implementation is being copied over to Telecom
      while the other dependencies are being formalized into system APIs as
      part of BlockedNumberContract (the hidden references have been
      unchanged).
      
      Bug: 308208071
      Bug: 311773409
      Test: atest BlockedNumberContractTest
      Change-Id: I79db751d494e81c9f638a300f871fed021b76808
      762bf668
  25. Feb 09, 2024
    • William Loh's avatar
      Add dynamic applinks update API · 53969265
      William Loh authored
      This API will allow the domian verifier to update the URI relative
      filter groups on the domain verification package state. During intent
      resolution these group matching will be applied after intent matching.
      All existing groups will be cleared when the groups are updated.
      
      Bug: 307557201
      Test: atest DomainVerificationManagerApiTest
      Test: atest DomainVerificationPersistenceTest
      Test: atest CtsDomainVerificationDeviceStandaloneTestCases
      Change-Id: I2d60b1f13074cecca106a37399bd4848534703f7
      53969265
    • Anna Zhuravleva's avatar
      Grant access hidden profile permission to quickstep · b9dcfddc
      Anna Zhuravleva authored
      Grant access hidden profiles permission to quickstep
      to access private profile.
      
      Test: checked permission is granted in adb
      Bug: 321988638
      Flag: NONE
      Change-Id: Ibad7f72f1558a39186c56dd9ecb5d85a41bf2b56
      b9dcfddc
  26. Feb 08, 2024
    • Chavi Weingarten's avatar
      Use InputTransferToken instead of IBinder for embedded windows · 95d3b5b8
      Chavi Weingarten authored
      When an app is embedding another window, it needs to send the embedded a
      token so the host can be associated with the embedded window. The
      current API uses a raw IBinder token, but change to use an
      InputTransferToken instead. This also modifies the transferTouchGesture
      API so it accepts a InputTransferToken from and to objects.
      
      Test: SurfaceControlInputReceiverTests
      Test: AttachedSurfaceControlTest
      Test: SurfaceControlViewHostTests
      Flag: ACONFIG com.android.window.flags.surface_control_input_receiver TRUNKFOOD
      Bug: 287076178
      Change-Id: Iaa4dca0ca57f9c8760a81783cd384808985e6263
      95d3b5b8
    • Anna Zhuravleva's avatar
      Add private profile checks for LauncherApps APIs · 50b9f34e
      Anna Zhuravleva authored
      Restrict LauncherApps APIs for private profile:
      - Caller must hold HOME role (i.e. default launcher)
      - Must hold ACCESS_HIDDEN_PROFILES or ACCESS_HIDDEN_PROFILES_FULL
      permissions
      
      Remove temporary recents role holder checks.
      
      Test: atest LauncherAppsTest, LauncherAppsForHiddenProfilesTest
      Bug: 25851973
      Flag: android.multiuser.enable_launcher_apps_hidden_profile_checks
      DEVELOPMENT
      
      Change-Id: Icf65b4329bbbd323f521d1f97b5369e7544111c8
      50b9f34e
  27. Feb 07, 2024
  28. Feb 06, 2024
Loading