-
Notifications
You must be signed in to change notification settings - Fork 925
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
Update billing dependency and update VPN code #19576
Conversation
third_party/android_deps/libs/com_google_firebase_firebase_encoders_proto/README.chromium
Outdated
Show resolved
Hide resolved
cd4f863
to
b6a38e5
Compare
fa1cb99
to
2812f69
Compare
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
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
third_party/android_deps/BUILD.gn
Outdated
@@ -7,6 +7,8 @@ group("android_deps") { | |||
":com_android_installreferrer_java", | |||
":com_brave_playlist_java", | |||
":com_github_bumptech_glide_java", | |||
":com_google_android_datatransport_transport_backend_cct_java", |
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.
android_deps
target does not appear to actually be used anywhere so can we just remove it?
build/android/config.gni
Outdated
@@ -44,6 +44,8 @@ brave_chrome_java_deps = [ | |||
"//brave/third_party/android_deps:com_android_installreferrer_java", | |||
"//brave/third_party/android_deps:com_brave_playlist_java", | |||
"//brave/third_party/android_deps:com_github_bumptech_glide_java", | |||
"//brave/third_party/android_deps:com_google_android_datatransport_transport_backend_cct_java", |
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.
we should not be adding indirect deps to this list. Only add direct deps here (the java imports you actually reference). Indirect deps are handled automatically and should not be added individually.
":*", | ||
"//third_party/androidx:*", | ||
] | ||
+ visibility += [ "//chrome/android:chrome_java", "//brave/third_party/android_deps:com_google_android_datatransport_transport_runtime_java__classes" ] supports_android = true |
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 list should only contain com_google_android_datatransport_transport_runtime_java__classes
because you shouldn't be adding this dep directly to chrome_brave_java_deps
2812f69
to
328769c
Compare
1754a35
to
3cfa329
Compare
@@ -0,0 +1,9 @@ | |||
# Copyright (c) 2023 The Brave Authors. All rights reserved. |
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.
just sources.gni
is the convention
Update existing code with livedata
Update plan UI Update vpn state with connection state
Add refs to sources
Update existing code to adapt to new changes with InAppBillingWrapper
Resolve rebase error Remove indirect deps Resolve presubmit error
3cfa329
to
9f12b6f
Compare
Update billing dependency and update VPN code
Update billing dependency and update VPN code
Verified
STEPS:
ACTUAL RESULTS:
No Brave Crash and no VPN profile error message timestamp_09-40-59_09-41-47.mp4Restore button when an active subscription is available timestamp_10-32-37_10-33-12.mp4 |
* Merge pull request #19576 from brave/billing_client_6_0_android Update billing dependency and update VPN code * Add foreground service type for wireguard service * Update manifest Add livedata for purchases Update livedata implementation * Resolve presubmit error * Resolve formatting error
* Merge pull request #19576 from brave/billing_client_6_0_android Update billing dependency and update VPN code * Add foreground service type for wireguard service * Update manifest Add livedata for purchases Update livedata implementation * Resolve presubmit error * Resolve formatting error
Resolves brave/brave-browser#30673
Security review : https://github.com/brave/reviews/issues/1323
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
wikinpm run lint
,npm run presubmit
wiki,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan: