Skip to content

Conversation

@keyonghan
Copy link
Contributor

Current device assumes single pattern on all devices, and uses mWakefulness=Awake to get the wakefulness status. This fails when it's a Samsung phone, which returns getWakefullnessLocked()=Awake.

This PR adds support for Samsung phones.

Fixes: #97235

@flutter-dashboard flutter-dashboard bot added the c: contributor-productivity Team-specific productivity, code health, technical debt. label Feb 9, 2022
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we just add the new check to the existing regular expression? e.g mWakefulness=|getWakefullnessLocked()=

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Used regexp to combine these two.

@jmagman
Copy link
Member

jmagman commented Feb 10, 2022

Please rebase onto #98166 to fix plugin_lint_mac.

@keyonghan keyonghan force-pushed the getwakefullness_update branch from 1bfea4a to 5352176 Compare February 11, 2022 00:06
@keyonghan keyonghan force-pushed the getwakefullness_update branch from 5352176 to 8802dad Compare February 11, 2022 06:04
@fluttergithubbot fluttergithubbot merged commit e8bc5c5 into flutter:master Feb 11, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 11, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Feb 11, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 11, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 11, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/plugins that referenced this pull request Feb 11, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Feb 11, 2022
clocksmith pushed a commit to clocksmith/flutter that referenced this pull request Mar 8, 2022
@keyonghan keyonghan deleted the getwakefullness_update branch April 25, 2022 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: contributor-productivity Team-specific productivity, code health, technical debt.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Samsung devices in staging are failing tests consistently

4 participants