-
Notifications
You must be signed in to change notification settings - Fork 6k
Remove some trivial deprecated symbol usages in iOS Embedder #42711
Conversation
|
test-exempt: code refactor with no semantic change |
| length:screenshot.data->size()]; | ||
| NSString* format = [NSString stringWithCString:screenshot.format.c_str()]; | ||
| NSString* format = [NSString stringWithCString:screenshot.format.c_str() | ||
| encoding:NSUTF8StringEncoding]; |
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.
stringWithUTF8String:
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.
Nice, also updated another places used stringWithCString:encoding:
|
|
||
| [center addObserver:self | ||
| selector:@selector(onAccessibilityStatusChanged:) | ||
| name:UIAccessibilityVoiceOverStatusChanged |
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.
Don't we need to replace this with UIAccessibilityVoiceOverStatusDidChangeNotification instead of removing it?
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.
Oh, I mistakenly thought the below notification is UIAccessibilityVoiceOverStatusDidChangeNotification and said we have already implemented it in the issue. I updated the issue and fixed this.
stuartmorgan-g
left a comment
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!
|
auto label is removed for flutter/engine, pr: 42711, due to - The status or check suite Linux mac_unopt has failed. Please fix the issues identified (or deflake) before re-applying this label. |
…lutter#128842) flutter/engine@727b441...2d8d5ec 2023-06-13 [email protected] Roll Skia from 6bdb0ef30cb6 to 6d5dc31d88e2 (7 revisions) (flutter/engine#42790) 2023-06-13 [email protected] Make validation logs ERROR level (flutter/engine#42825) 2023-06-13 [email protected] Roll Fuchsia Mac SDK from J-zU9HGYXYU5UWJO9... to Cld7-rm6ZmCOO8j-K... (flutter/engine#42824) 2023-06-13 [email protected] Manual roll ICU from 1eea59cabae0 to a2961dc659b4 (0 revision) (flutter/engine#42817) 2023-06-13 [email protected] Remove some trivial deprecated symbol usages in iOS Embedder (flutter/engine#42711) Also rolling transitive DEPS: fuchsia/sdk/core/mac-amd64 from J-zU9HGYXYU5 to Cld7-rm6ZmCO 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],[email protected],[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
stringWithCString was deprecated in iOS 2.0
UIAccessibilityVoiceOverStatusChanged was deprecated in iOS 11.0
fixes: flutter/flutter#128732
flutter/flutter#128736
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.