-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[quick_actions] Update Android Pigeon version #8580
[quick_actions] Update Android Pigeon version #8580
Conversation
`quick_actions_android` was still using a very old version of Pigeon; this updates to the current version. The changes are minimal, but this avoids inconsistency with other plugins (e.g., `setup` vs `setUp`), and potential issues with forcing old versions of transitive dependencies shared with `pigeon`.
@@ -30,7 +29,7 @@ | |||
import java.util.concurrent.TimeUnit; | |||
|
|||
final class QuickActions implements AndroidQuickActionsApi { | |||
protected static final String EXTRA_ACTION = "some unique action key"; | |||
static final String EXTRA_ACTION = "some unique action key"; |
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.
This was flagged as using protected
in a final
class. I'm not actually sure how this was compiling before though; QuickActionsPlugin uses this, but isn't a subclass of QuickActions.
// noop | ||
}); | ||
ShortcutManagerCompat.reportShortcutUsed(context, shortcutId); | ||
if (shortcutId != null) { |
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.
This check was added because there was a warning about shortcutId
being potentially null in the call to launchAction
. Probably this never actually happens, but if it does, better to do nothing than to crash.
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.
The war against setup
continues.
flutter/packages@e6ce02c...625023a 2025-02-07 [email protected] [camera] Remove OCMock from AvailableCamerasTests, CameraOrientationTests and ThreadSafeEventChannelTests (flutter/packages#8363) 2025-02-06 [email protected] [pigeon] Adds annotation options to omit shared classes used in Event Channels (flutter/packages#8566) 2025-02-06 [email protected] [quick_actions] Update Android Pigeon version (flutter/packages#8580) 2025-02-05 [email protected] [ci] Move Wasm test shards out of bringup. (flutter/packages#8572) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-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://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
quick_actions_android
was still using a very old version of Pigeon; this updates to the current version. The changes are minimal, but this avoids inconsistency with other plugins (e.g.,setup
vssetUp
), and potential issues with forcing old versions of transitive dependencies shared withpigeon
.Also makes some minor code improvements on the Java side that were flagged by the IDE's linter.
Pre-launch Checklist
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.md
to add a description of the change, following repository CHANGELOG style, or this PR is exempt from CHANGELOG changes.///
).