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

Changed help link for connection info #5095

Merged
merged 1 commit into from
Mar 30, 2020
Merged

Conversation

samartnik
Copy link
Contributor

@samartnik samartnik commented Mar 30, 2020

Resolves brave/brave-browser#8899

Submitter Checklist:

Test Plan:

Reviewer Checklist:

  • New files have MPL-2.0 license header.
  • Request a security/privacy review as needed.
  • Adequate test coverage exists to prevent regressions
  • Verify test plan is specified in PR before merging to source

After-merge Checklist:

  • The associated issue milestone is set to the smallest version that the
    changes has landed on.
  • All relevant documentation has been updated.

@samartnik samartnik added CI/skip-linux CI/skip-macos-x64 Do not run CI builds for macOS x64 CI/skip-ios Do not run CI builds for iOS labels Mar 30, 2020
@samartnik samartnik added this to the 1.8.x - Nightly milestone Mar 30, 2020
@samartnik samartnik requested a review from emerick March 30, 2020 15:46
@samartnik samartnik requested a review from bridiver as a code owner March 30, 2020 15:46
@samartnik samartnik self-assigned this Mar 30, 2020
@CalledByNative
private void addMoreInfoLink(String linkText) {
mMoreInfoLink = new TextView(mContext);
- mLinkUrl = HELP_URL;
Copy link
Collaborator

Choose a reason for hiding this comment

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

we should be able to handle this with brave_static_redirect_network_delegate_helper.cc

@samartnik samartnik force-pushed the android_changed_help_link branch from 2500097 to 0ad5b9e Compare March 30, 2020 20:16
Copy link
Contributor

@emerick emerick left a comment

Choose a reason for hiding this comment

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

LGTM

public boolean onNewIntent(Intent intent) {
// Redirect requests if necessary
String url = getUrlFromIntent(intent);
if (url != null && url.equals(CONNECTION_INFO_HELP_URL)) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

we'll probably want to break this stuff out into helper classes eventually, but lgtm for now

@samartnik samartnik merged commit dfb2e6a into master Mar 30, 2020
@samartnik samartnik deleted the android_changed_help_link branch March 30, 2020 21:46
samartnik added a commit that referenced this pull request Mar 31, 2020
samartnik added a commit that referenced this pull request Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/skip-ios Do not run CI builds for iOS CI/skip-macos-x64 Do not run CI builds for macOS x64
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Android] link to google support
3 participants