Skip to content
Snippets Groups Projects
  1. May 29, 2024
    • Winson Chung's avatar
      Only reset the frozen recents list if touching outside of the mandatory system gesture region · 0756665a
      Winson Chung authored
      
      - Currently, any touch after a quickswitch within an app window will be
        construed as a reset of the frozen task list, however we allow users
        to quickswitch multiple times whenever touching within the mandatory
        system gesture region, so we should also ensure that touches within
        that region are also ignored.
      - Also add protologs for when we set/reset the frozen list
      
      Bug: 320408763
      Test: Quickswitch, but touch above the nav handle and within the
            system gesture region, verify this does not trigger resetting
      
      Change-Id: Ie8dd880eb2b45812d5b72ec1ae1c23e28ba02250
      Merged-In: Ie8dd880eb2b45812d5b72ec1ae1c23e28ba02250
      Signed-off-by: default avatarWinson Chung <winsonc@google.com>
      0756665a
    • Winson Chung's avatar
      Only reset the frozen recents list if touching outside of the mandatory system gesture region · b5b7cb17
      Winson Chung authored
      
      - Currently, any touch after a quickswitch within an app window will be
        construed as a reset of the frozen task list, however we allow users
        to quickswitch multiple times whenever touching within the mandatory
        system gesture region, so we should also ensure that touches within
        that region are also ignored.
      - Also add protologs for when we set/reset the frozen list
      
      Bug: 320408763
      Test: Quickswitch, but touch above the nav handle and within the
            system gesture region, verify this does not trigger resetting
      
      Change-Id: Ie8dd880eb2b45812d5b72ec1ae1c23e28ba02250
      Signed-off-by: default avatarWinson Chung <winsonc@google.com>
      b5b7cb17
  2. May 28, 2024
  3. May 22, 2024
    • wilsonshih's avatar
      Simplify code flow for add starting window. · a7d61a3a
      wilsonshih authored
      Remove unnecessary code, no logic change.
      Also remove testTransferStartingWindowWhileCreating, it is impossible
      to have such code path since there won't create starting window inside
      core anymore.
      
      Bug: 341054451
      Test: presubmit
      Change-Id: I3a27952160bc26bd9618ce96e5c692c78d0983b2
      a7d61a3a
  4. May 21, 2024
    • Evan Rosky's avatar
      Make it possible to register/unregister players as a stack · 598f8a5b
      Evan Rosky authored
      Similar to TaskOrganizer, this supports being able to
      register/unregister transition players in a lifo manner.
      
      This will enable integration tests to register a transition
      player temporarily and then unregister to restore the
      original state.
      
      Bug: 341009477
      Test: Existing tests
      Change-Id: I011095a35e1c4ea14c3a8fa1abf3576041338705
      598f8a5b
  5. May 16, 2024
  6. May 15, 2024
    • Josep del Rio's avatar
      Add missing consumer HID usages · fd39b9ab
      Josep del Rio authored
      Some popular keyboards have keys that use standard HID usages (as
      defined in https://usb.org/sites/default/files/hut1_3.pdf) that
      are currently not defined in Android. This change adds the ones
      that have been identified so far.
      
      Bug: 287638533
      Bug: 287642278
      Bug: 287642922
      Bug: 287640783
      Test: Confirmed that the language switch, settings, emoji picker,
            recent apps, refresh and all apps are now properly
            recognized by testing on a Logitech K650 keyboard in
            ChromeOS mode (Fn+C for 3 seconds).
      Flag: EXEMPT resource only update
      Change-Id: Icfa5be11b33059c44bc4cb5d838b503d23f90464
      
      Change-Id: If71c545f1a73a86ceb40ef94bf0ae272b672b144
      fd39b9ab
  7. May 09, 2024
    • Seigo Nonaka's avatar
      Update font PS name · df167d26
      Seigo Nonaka authored
      Bug: 337002764
      Test: Manually verified on some games
      Change-Id: I18d4272bf8ead5f76da5aea4f0af6a48ee6eb8cf
      df167d26
  8. May 08, 2024
  9. May 07, 2024
    • Inseob Kim's avatar
      Use no_full_install: true instead of installable: false · 8541b878
      Inseob Kim authored
      So far, we have used `instalable: false` to avoid collision with the
      other modules that are installed to the same path. A typical example was
      <foo> and <foo>.microdroid. The latter is a modified version of the
      former for the inclusion of the microdroid image. They however both have
      the same instalation path (ex: system/bin) and stem (ex: foo) so that we
      can reference them using the same path regardless of whether we are in
      Android or microdroid.
      
      However, the use of `installable: false` for the purpose is actually
      incorrect, because `installable: false` also means, obviously, "this
      module shouldn't be installed". The only reason this incorrect way has
      worked is simply because packaging modules (ex: android_filesystem)
      didn't respect the property when gathering the modules.
      
      As packaging modules are now fixed to respect `installable: false`, we
      need a correct way of avoiding the collision. `no_full_install: true` is
      it.
      
      If a module has this property set to true, it is never installed to the
      full instal path like out/target/product/<partition>/... It can be
      installed only via packaging modules.
      
      Bug: 335369205
      Bug: 337993945
      Test: m droid aosp_cf_system_x86_64
      Change-Id: If9c053968bde39c3eb3b852f1df1d475161bd846
      8541b878
  10. May 03, 2024
    • yangbill's avatar
      Convert keyboards artifacts to soong · deee1119
      yangbill authored
      This CL still keep PRODUCT_COPY_FILE for the original system image
      packaging for Make, but create 3 soong's modules which could be used for
      soong generated system images.
      
      Bug: 337993945
      Test: lunch aosp_cf_x86_64_only_phone-trunk_staging-userdebug ;\
            m aosp_cf_system_x86_64 ; m
      Test: lunch yukawa-trunk_staging-userdebug ; m
      Change-Id: Ie749de99273f85623861a001e69a9c4187cc8067
      deee1119
    • Ray Chin's avatar
      Revert "Convert keyboards artifacts to soong" · 01596715
      Ray Chin authored
      This reverts commit fd803f55.
      
      Reason for revert: This change break most of the tv targets. Please test building cf_x86_tv_gtv
      
      Bug: 338497361
      Change-Id: I5e9063f3099315de4ec6bde966bf8563f5faac56
      01596715
  11. May 02, 2024
  12. Apr 29, 2024
    • Mina Granic's avatar
      Extract camera open/close logic in a separate class. · f518b719
      Mina Granic authored
      This allows the camera app state to be reused in other camera compat classes.
      
      Bug: 314960895
      Test: atest WmTests:DisplayRotationCompatPolicyTests
      Test: atest WmTests:DisplayContentTests
      
      Change-Id: Ie1692a59987267113c4d05bb332bdb28f6a929dd
      f518b719
  13. Apr 22, 2024
  14. Apr 17, 2024
  15. Apr 16, 2024
  16. 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
  17. Apr 05, 2024
    • Marzia Favaro's avatar
      Add transition on keyguard showing · f5ec5ef1
      Marzia Favaro authored
      This transition helps with ensuring the correct wallpapers when
      keyguard is showing.
      We are experiencing issues with the wallpapers changing visibility
      during a transition, thus having an incorrect finish state: a wallpaper
      can not become immediately invisible while in a transition (because it
      is expected to commit invisibility only at the end), which
      implies that if the wallpaper is collected while becoming visible, the
      requests to become invisible during the transition period get ignored (because at the end of the transition we are expected to not make it invisible, since it just became visible at the start).
      This implies that locking keyguard while there is an ongoing transition
      leads to the wrong wallpaper showing on lockscreen, because we can not
      hide the home wp simply by requesting to adjustWallpapers. Therefore, we
      create a new transition to avoid handling unexpected visibility changes
      on ungoing transitions.
      
      Bug: 327970608
      Bug: 323226308
      
      Test: manual - delay execution of
      KeyguardViewMediator#updateActivityLockscreenState, wait for keyguard to
      unlock and observe lockscreen
      Test: manual - unlock keyguard, open app, lock keyguard, unlock
      keyguard, close app, lock keyguard, observe lockscreen - all in rapid
      succession
      
      Change-Id: I80313281219fd6b42fe3dffffde2ef90086b0e59
      f5ec5ef1
    • Vaibhav Devmurari's avatar
      Add KL mapping for Emoji and screenshot keycodes · f5729f6a
      Vaibhav Devmurari authored
      Test: None
      Bug: 294552419
      Change-Id: Iff50a45c286578e292f84f5471bfa6105e490df2
      f5729f6a
  18. Apr 03, 2024
  19. 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
  20. 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
  21. Mar 28, 2024
  22. Mar 25, 2024
  23. 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
  24. 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
  25. 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
  26. Mar 18, 2024
  27. Mar 14, 2024
  28. Mar 13, 2024
Loading