Skip to content
Snippets Groups Projects
  1. Jun 04, 2024
    • Alan Viverette's avatar
      Remove alanv@ from platform OWNERS · 3a66687e
      Alan Viverette authored
      No longer an appropriate reviewer for platform code.
      
      Change-Id: I051251f7baee476dd95c4a85b1a6e2e51e9a00fd
      3a66687e
    • Felix Stern's avatar
      Refactor show/hide IME process · d87895b9
      Felix Stern authored
      Changing the process of how the IME is shown or hidden:
      - Showing or hiding the IME is driven through its requested visibility (InsetsControlTarget) via InsetsController/DisplayImeController and thus sent to the server (InsetsStateController).
      - When hiding the IME, the requestedVisibleTypes are sent after the end of the animation.
      - Introduced new OnImeRequestedChangedListener that is called via WindowManagerService that is called to start the show/hide IME flow in IMMS.
      - When the IME becomes (un)available, its leash is (re)set.
      - Show/Hide requests from InputMethodManager are redirected through InsetsController.
      
      Test: atest CtsInputMethodTestCases
      Flag: android.view.inputmethod.Flags.refactorInsetsController
      Bug: 298172246
      Change-Id: I8e3a74ee579f085cb582040fdba725e7a63d6b85
      d87895b9
    • Satish Yalla's avatar
      [DO NOT MERGE] Revert "Update the leash position when gaining a new control" · a0c5f611
      Satish Yalla authored
      This reverts commit b033de9f
      
      Reason for revert: The CL made taskbar flickers
      
      Bug: 343521630
      Change-Id: Ie8e7a3f4751cc71f80596099fea73f3e1a848a52
      a0c5f611
    • Charles Chen's avatar
      Move AnimationOptions to Change · 32814954
      Charles Chen authored
      There are several reasons for this requests:
      1. Fix "Dim flicker on package installer"
      2. Implement overlay transition by animation resources override
      3. Activity Embedding Animation Customization
      
      Test: atest TransitionTests ActivityEmbeddingAnimationRunnerTests ActivityEmbeddingControllerTests
      Bug: 327332488
      Bug: 295805497
      Flag: com.android.window.flags.move_animation_options_to_change
      Change-Id: I060b87506a1bf732228ec6b44e7e9dd48782ec0c
      32814954
    • Bill Yi's avatar
      Import translations. DO NOT MERGE ANYWHERE · e3f5d89f
      Bill Yi authored
      Auto-generated-cl: translation import
      Change-Id: I1c8129f516afbffa109052d388abf1b0ef3ead61
      e3f5d89f
    • Bill Yi's avatar
      Import translations. DO NOT MERGE ANYWHERE · cfce60a1
      Bill Yi authored
      Auto-generated-cl: translation import
      Change-Id: I17a76c87833b9078558ba7b21a88e6c5ced29045
      cfce60a1
  2. Jun 03, 2024
  3. Jun 02, 2024
    • petsjonkin's avatar
      Intoroducing RequestedRefreshRateVote · e5339e5c
      petsjonkin authored
      Even though preferredRefreshRate is communicated directly to SF, we need to validate that this rate is achievable
      
      Bug: b/330810426
      Test: atest AppRequestObserverTest atest VoteSummaryTest
      
      Change-Id: I108f600c7f3876ae11a682b6e6b066343445bacf
      e5339e5c
  4. May 31, 2024
  5. May 30, 2024
    • mrulhania's avatar
      update java doc for CONTENT_SENSITIVITY_AUTO & FLAG_SECURE · af46212e
      mrulhania authored
      Fix: 332776308
      Fix: 331987297
      Test: build
      Change-Id: I4560fe8c3c14170eabe0f4d2e3e766683812b05d
      af46212e
    • Tyler Freeman's avatar
      docs: fix LAB extrema documentation · 9c4950dd
      Tyler Freeman authored
      Fix: 343778621
      Flag: N/A
      Test: manual using go/BeeShell:
      
      bsh> com.android.internal.graphics.ColorUtils.colorToLAB(android.graphics.Color.WHITE, lab);
      $19 = null
      bsh> Arrays.toString(lab)
      $20 = "[100.0, 0.00526049995830391, -0.010408184525267927]"
      
      bsh> xyz = new double[3];
      $22 = [D@fbe51c5
      bsh> com.android.internal.graphics.ColorUtils.RGBToXYZ(255, 255, 255, xyz);
      $23 = null
      bsh> Arrays.toString(xyz)
      $24 = "[95.05, 100.0, 108.89999999999999]"
      bsh> com.android.internal.graphics.ColorUtils.XYZToLAB(xyz[0], xyz[1], xyz[2], lab);
      $25 = null
      bsh> Arrays.toString(lab)
      $26 = "[100.0, 0.00526049995830391, -0.010408184525267927]"
      
      Change-Id: I83ccf289578ac66d901d884433909e1b99b4ab40
      9c4950dd
    • Tyler Freeman's avatar
      fix(high contrast text): draw contrasting backgrounds when text changes color via Spans · 48a980e1
      Tyler Freeman authored
      We take into account the CharacterStyle spans that change the color of
      the text to be different than the original global Paint color. This
      matches the high contrast background to each span of text that is a
      different color.
      
      Also, fix the isHighContrastTextDark() function which was converting
      LAB wrong because of incorrect documentation (see b/343778621)
      
      Fix: 340552436
      Flag: ACONFIG com.android.graphics.hwui.flags.high_contrast_text_small_text_rect TRUNKFOOD
      Test: atest frameworks/base/core/tests/coretests/src/android/text/LayoutTest.java
       && atest frameworks/base/core/tests/coretests/src/android/text/SpanColorsTest.java
      
      Change-Id: I8e9723409b8219ad9c869dc5a7c767d2ec669939
      48a980e1
    • arunvoddu's avatar
      Change the visibility of setCarrierRestrictionStatus API in carrierRestrictionRules · 4e8e2394
      arunvoddu authored
      The change is to facilitate the OobConfig application to pass the lock information to the modem.
      
      Bug: 342411308
      Test: Built successfully
      Change-Id: I14a7a19286a7b2a9d073bcbaac7b35d6310d67f6
      4e8e2394
    • Pinyao Ting's avatar
      Flag for supporting resume widget restore after reboot · 5b3399c6
      Pinyao Ting authored
      Bug: 336976070
      Test: manual
      Flag: aconfig support_resume_restore_after_reboot DISABLED
      Change-Id: I9de421ff7285ee6aa3b3729cb33b764e6f685111
      5b3399c6
    • George Mount's avatar
      [VRR] Use UXR values for velocity/frame rate calculation · 1edfcbe7
      George Mount authored
      Fixes: 343772301
      
      In our UXR study, we found that for velocities greater than
      1500dp/s, we need to use 120fps to get a premium experience.
      Below that, 80fps is required for a premium experience.
      
      Test: modified existing tests
      Change-Id: I010d5a7113fe1651a04b9f3dad14ce77d87daf19
      1edfcbe7
    • George Mount's avatar
      [VRR] Windowless Snapshot shouldn't vote for frame rate · 6e74d301
      George Mount authored
      Fixes: 343755505
      
      The Windowless Snapshot surface doesn't need to use the View
      system's voting mechanism. Instead, it should fall back on
      SurfaceFlinger's frame rate calculator so that visible Activities
      aren't pushed to 120Hz unnecessarily.
      
      Test: manual
      Change-Id: I4195549d93818ffb9187401b6f96cff04261ade1
      6e74d301
    • Ibrahim Yilmaz's avatar
      [API Abuse - Text Consistency] Eliminate zero width, invisible formatting... · 78fc4a3b
      Ibrahim Yilmaz authored
      [API Abuse - Text Consistency] Eliminate zero width, invisible formatting chars  and consecutive spaces
      
      Some apps use different invisible characters like  in their contents to prevent the content getting truncated or trimmed.
      Such character combinations can also look like multiple new lines when there are many and they can also prevent us removing consecutive new lines.
      
      Bug: 313439845
      Test: NotificationBigTextNormalizer
      Flag: android.app.Flags.clean_up_spans_and_new_lines
      Change-Id: I36474427f3934450a7779f8e0afa619c6ad9a2b2
      78fc4a3b
    • Vlad Popa's avatar
      AbsVol: send per device the abs volume state to APM · dc8653b2
      Vlad Popa authored
      Sending the normal computed index to the AudioPolicyManager together
      with the devices which are operating in absolute volume mode. The APM is
      responsible for avoiding the double attenuation based on this
      information.
      
      Flag: com.android.media.audio.abs_volume_index_fix
      Test: logs manual - DEBUG_VOL = true
      Bug: 340693050
      Change-Id: I9435723b0bc100f74553ff87c1407355117194b6
      dc8653b2
    • Johannes Gallmann's avatar
      Enable IME predictive back animation in all apps · 2ce102c8
      Johannes Gallmann authored
      Bug: 341013064
      Test: atest FrameworksCoreTests:WindowOnBackInvokedDispatcherTest
      Test: Manual, i.e. testing IME behaviour in test app when using onKeyPreIme.
      Change-Id: I63992e62d4ab2865dd414db77fead6ead52f0931
      2ce102c8
    • Johannes Gallmann's avatar
      Refactor IME callback registration · f3d4acf2
      Johannes Gallmann authored
      This refactoring aims to slightly simplify the IME back callback registration. The alternate constructor for OnBackInvokedCallbackWrapper is removed and with it a number of back and forth communication between ImeOnBackInvokedDispatcher and WindowOnBackInvokedDispatcher. ImeOnBackInvokedDispatcher also no longer needs to hold its own touch tracker, handler and BackProgressAnimator.
      
      It comes at the cost of one more layer of callback wrapping. This means that the OnBackInvokedCallback coming from the IME is wrapped once before sending it from the IME process to the app process. It is wrapped a second time when it is sent from the app process to WM (if it is the top callback).
      
      Bug: 341013064
      Test: atest FrameworksCoreTests:WindowOnBackInvokedDispatcherTest
      Test: Manual, i.e. testing that registered ImeOnBackInvokedCallbacks work correctly.
      Change-Id: I45744fb5c62786a437880c013427083f42562e55
      f3d4acf2
    • Nate Myren's avatar
      Hide notifications with sensitive content on the lock screen · ea404e2f
      Nate Myren authored
      Bug: 343631648
      Test: atest NotificationLockscreenUserManagerTest
      Flag: android.app.redact_sensitive_content_notifications_on_lockscreen DISABLED
      
      Change-Id: Ibc613b0859531e16651645288bedbdcbef7e9824
      ea404e2f
    • Jacob Hobbie's avatar
      Adding sound/haptic settings. · 21b7a74a
      Jacob Hobbie authored
      Add Wear haptic settings for Active Unlock in main. These changes exist
      only in tm-wear-kr3 right now, which means they need to be migrated to
      main, and then later cherrypicked down. These global settings will be
      accessible by other areas and are part of adding toggles to the Settings
      pages on the watch.
      
      Flag: EXEMPT bugfix
      Test: with other CL
      Bug: 379477908
      Bug: 339488475
      Change-Id: I2d5f06356e771124e62d7824112dd27c5edbc8af
      21b7a74a
Loading