-
Notifications
You must be signed in to change notification settings - Fork 473
The colors of the icons from the status bar should be in contrast with the status bar background color #12955
Conversation
94715d7
to
18b57f4
Compare
👋🏽 |
Should we also add tests to WindowTest? |
@Amejia481 it's not connected to #12894 |
Thanks for the clarification, I think we will need to connect the issue # and update the commit description with it :) |
18b57f4
to
73c6215
Compare
@Amejia481 I can't write unittests for this, because |
We could write tests to verify the expected behaviour, as we could read the value of |
Related ticket mozilla-mobile/focus-android#7860 (comment) |
@mcarare could take a look as you have context around the previous change? :) |
components/support/ktx/src/main/java/mozilla/components/support/ktx/android/view/Window.kt
Outdated
Show resolved
Hide resolved
components/support/ktx/src/main/java/mozilla/components/support/ktx/android/view/Window.kt
Outdated
Show resolved
Hide resolved
c47253d
to
f29d17f
Compare
f29d17f
to
4a2e1ff
Compare
getWindowInsetsController().isAppearanceLightStatusBars always returns false does't matter if I send Black or White , I think it is a problem with Robolectric . I made some gui tests for this . @Amejia481 |
components/support/ktx/src/main/java/mozilla/components/support/ktx/MainActivity.kt
Outdated
Show resolved
Hide resolved
...support/ktx/src/androidTest/java/mozilla/components/support/ktx/android/view/WindowKtTest.kt
Outdated
Show resolved
Hide resolved
This pull request has conflicts when rebasing. Could you fix it @iorgamgabriel? 🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For adding a new UI/Instrumentation tests we need add an entry to the kind.yml file, after it is added you could give it a try by calling bors try
:)
17341f4
to
e4ccfed
Compare
bors try |
e4ccfed
to
572f21c
Compare
tryBuild failed: |
bors try |
tryBuild succeeded: |
The tests are failed because they run on API Level 21 and
|
45124d8
to
ac0ed22
Compare
bors try |
tryBuild succeeded: |
… contrast with the status bar background color.
ac0ed22
to
52c7070
Compare
bors try |
tryBuild succeeded: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job 🎖️ !
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1795650
Pull Request checklist
After merge
Fixes #1795650
Fixes #1795650
Fixes #1795650
Fixes #1795650
Fixes #1795650
Fixes #1795650
Fixes #1795650
Fixes #1795650
Fixes #1795650
Fixes #1795650
Fixes #1795650