Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5bb5a9cc authored by Xiaowen Lei's avatar Xiaowen Lei
Browse files

Implement fallbacks for when the drawable doesn't have enough width.

Also:
  - For better clarity, renamed `processAndConvertToViewParts` to
    `processModelAndConvertToViewParts`, and
    `processAndConvertToDrawableParts` to
    `processPartsAndConvertToDrawableParts`.
  - Fixed pre-existing failures in NotificationProgressModelTest. And a
    few tests were failing the verifs on process or indeterminateColor.
  - Cleaned up / reassigned a couple of TODOs.

Test notification config, on Felix:
  - 10 segments, each of length 10
    - Case 1: segments of multiple colors
    - Case 2: segments of same color
  - 4 points, at 0, 1, 55, 100

Flag: android.app.api_rich_ongoing
Fix: 372908709
Bug: 390196782
Test: Post ProgressStyle notifs via test app
Test: atest NotificationProgressBarTest
Test: atest NotificationProgressModelTest
Change-Id: I57333e2c14058298b5caf707442176883162b345
parent 21ea1530
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment