Skip to content

Update modal behaviour android #7761

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

Closed
wants to merge 4 commits into from

Conversation

deeppandya
Copy link
Contributor

Resolves brave/brave-browser#12627 brave/brave-browser#13800 brave/brave-browser#13871 brave/brave-browser#13749

Submitter Checklist:

  • There is a ticket for my issue.
  • Used Github auto-closing keywords in the commit message.
  • Wrote a good PR/commit description
  • Added appropriate labels (QA/Yes or QA/No; release-notes/include or release-notes/exclude; OS/...) to the associated issue
  • Checked the PR locally: npm run test -- brave_browser_tests, npm run test -- brave_unit_tests, npm run lint, npm run gn_check, npm run tslint
  • Ran git rebase master (if needed).
  • Requested a security/privacy review as needed.

Reviewer Checklist:

  • New files have MPL-2.0 license header.
  • Adequate test coverage exists to prevent regressions
  • Major classes, functions and non-trivial code blocks are well-commented
  • Changes in component dependencies are properly reflected in gn
  • Code follows the style guide
  • Test plan is specified in PR before merging

After-merge Checklist:

Test Plan:

@deeppandya deeppandya 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 Feb 1, 2021
@deeppandya deeppandya added this to the 1.21.x - Nightly milestone Feb 1, 2021
@deeppandya deeppandya self-assigned this Feb 1, 2021
@@ -293,8 +293,10 @@ void JNI_BravePrefServiceBridge_SetReferralDownloadId(
void JNI_BravePrefServiceBridge_SetP3AEnabled(
JNIEnv* env,
jboolean value) {
return g_browser_process->local_state()->SetBoolean(
brave::kP3AEnabled, value);
// Saving pref value to the disk as soon as the pref value is set to avoid delay in pref value update.
Copy link
Contributor

Choose a reason for hiding this comment

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

it will not pass lint, over 80 chars

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah i just noticed. updating it.

@deeppandya
Copy link
Contributor Author

Closing this PR as creating new separate PRS.

@deeppandya deeppandya closed this Feb 1, 2021
@bsclifton bsclifton deleted the update_modal_behaviour_android branch February 4, 2021 18:52
@bsclifton bsclifton restored the update_modal_behaviour_android branch February 4, 2021 18:52
@bsclifton bsclifton removed this from the 1.21.x - Release milestone Jun 10, 2021
@bsclifton bsclifton deleted the update_modal_behaviour_android branch June 10, 2021 22:38
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.

Latest version of Brave released on 4th of Nov, 2020 crashes frequently
3 participants