Skip to content
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

Bug 1634064 - Propagate GleanDebugActivity intent options to the main intent #1068

Merged
merged 1 commit into from
Jul 20, 2020

Conversation

Dexterp37
Copy link
Contributor

Products might want to debug a product and launch it using different options. Without this change, such options are discarded by Glean.

How to test this

  1. adb shell am set-debug-app -w org.mozilla.samples.gleancore
  2. adb shell am start -d "https://www.example.com" -n org.mozilla.samples.gleancore/mozilla.telemetry.glean.debug.GleanDebugActivity --es tagPings mytest --es otherOption other-value
  3. Place a breakpoint in the MainActivity and inspect intent.data (should be "https://www.example.com") and intent.getStringExtra(otherOption) (should be other-value)

More context on why this is needed can be read on the bug.

@auto-assign auto-assign bot requested a review from travis79 July 17, 2020 17:23
Copy link
Contributor

@mdboom mdboom left a comment

Choose a reason for hiding this comment

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

r+ (though maybe wait on the unrelated CI issues with the Rust update to resolve)

Products might want to debug a product and launch it using different
options. Without this change, such options are discarded by Glean.
@Dexterp37 Dexterp37 merged commit fdf341f into mozilla:main Jul 20, 2020
@Dexterp37 Dexterp37 deleted the debug_activity_options branch July 20, 2020 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants