-
Notifications
You must be signed in to change notification settings - Fork 6k
Set system bar appearance using WindowInsetsControllerCompat instead of the deprecated View#setSystemUiVisibility #29060
Conversation
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat. If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
c9f6b47
to
0ce146c
Compare
fyi @camsim99 - Camille was working on this issue. |
0ce146c
to
0446157
Compare
@wytesk133 Can you also take a look at the usage of |
@camsim99 Seems like there are many other get/setSystemUiVisibility usages. I don't think I'll have the bandwidth to look into them, but let me know in the chat or email if I can be in any help (e.g., testing with my team's app, etc.). |
1b12a37
to
1a6a63d
Compare
…of the deprecated View#setSystemUiVisibility The deprecated APIs conflict with Android 12's `SplashScreenView#remove` behavior causing light status bar icon on light background.
1a6a63d
to
fc5e633
Compare
Friendly ping |
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.
LGTM
@wytesk133 are you able to file an issue for the remaining changes? |
The PR should fix b/201727280. For the remaining parts, there is already flutter/flutter#91128 filed for b/199402891. btw, I don't have write access, so could you also help merging this PR? Thank you! |
…instead of the deprecated View#setSystemUiVisibility (flutter/engine#29060)
…instead of the deprecated View#setSystemUiVisibility (flutter/engine#29060)
…instead of the deprecated View#setSystemUiVisibility (flutter/engine#29060)
…instead of the deprecated View#setSystemUiVisibility (flutter/engine#29060)
…instead of the deprecated View#setSystemUiVisibility (flutter/engine#29060)
…instead of the deprecated View#setSystemUiVisibility (flutter/engine#29060)
…instead of the deprecated View#setSystemUiVisibility (flutter/engine#29060)
…instead of the deprecated View#setSystemUiVisibility (flutter/engine#29060)
…instead of the deprecated View#setSystemUiVisibility (flutter/engine#29060)
…instead of the deprecated View#setSystemUiVisibility (flutter/engine#29060)
Also ignores: flutter#91906 2021-10-15 [email protected] [web] Add goldctl as a dependency in LUCI (flutter/engine#29168) 2021-10-15 [email protected] Revert "Set system bar appearance using WindowInsetsControllerCompat instead of the deprecated View#setSystemUiVisibility (flutter#29060)" (flutter/engine#29206) 2021-10-15 [email protected] Roll Dart SDK from e8c02a935741 to 42acd2ae8fa8 (1 revision) (flutter/engine#29205) 2021-10-15 [email protected] Roll Dart SDK from 9f3cd7a49814 to e8c02a935741 (1 revision) (flutter/engine#29204) 2021-10-15 [email protected] Roll Skia from 012f7146067a to b24bad31dc05 (3 revisions) (flutter/engine#29203) 2021-10-15 [email protected] Roll Skia from 72602b668e22 to 012f7146067a (1 revision) (flutter/engine#29202) 2021-10-15 [email protected] Roll Dart SDK from aaca2ac128ae to 9f3cd7a49814 (1 revision) (flutter/engine#29201) 2021-10-15 [email protected] Set the use_ios_simulator flag only on platforms where it is defined (iOS/Mac) (flutter/engine#29199) 2021-10-14 [email protected] [fuchsia] Create CF v2 Flutter runner. (flutter/engine#29142) 2021-10-14 [email protected] Roll Dart SDK from 82b0281cbcf3 to aaca2ac128ae (1 revision) (flutter/engine#29198) 2021-10-14 [email protected] Roll Skia from aa9656d8caa6 to 72602b668e22 (1 revision) (flutter/engine#29196) 2021-10-14 [email protected] Ignore implicit_dynamic_function analyzer error for js_util generic methods (flutter/engine#29192) 2021-10-14 [email protected] [web] use 'dart compile js' instead of 'dart2js' in web_ui and felt (flutter/engine#29179) 2021-10-14 [email protected] Roll Dart SDK from 081a57c06088 to 82b0281cbcf3 (3 revisions) (flutter/engine#29195) 2021-10-14 [email protected] Roll Skia from d0c7f636453b to aa9656d8caa6 (3 revisions) (flutter/engine#29194) 2021-10-14 [email protected] Set system bar appearance using WindowInsetsControllerCompat instead of the deprecated View#setSystemUiVisibility (flutter/engine#29060) 2021-10-14 [email protected] [UWP] Remove 1px offset to make root widget fully shown (flutter/engine#27922) 2021-10-14 [email protected] Roll Skia from ab19daec3b88 to d0c7f636453b (1 revision) (flutter/engine#29191) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…of the deprecated View#setSystemUiVisibility (flutter#29060)
…instead of the deprecated View#setSystemUiVisibility (flutter#29060)" (flutter#29206) This reverts commit d8d9c4f.
…rCompat instead of the deprecated View#setSystemUiVisibility (flutter#29060)" (flutter#29206)" This reverts commit b1e7ad8.
…rCompat instead of the deprecated View#setSystemUiVisibility (flutter#29060)" (flutter#29206)" This reverts commit b1e7ad8.
The deprecated APIs conflict with Android 12's
SplashScreenView#remove
behavior causing light status bar icon on light background.Part of flutter/flutter#91128
Internal bugs: b/199402891, b/201727280
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist
writing and running engine tests.
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.