Skip to content

[AUTOMATED] Update to 150.0.7871.46.0#1170

Closed
vanadium-staging wants to merge 12 commits into
GrapheneOS:mainfrom
vanadium-staging:150.0.7871.46.0
Closed

[AUTOMATED] Update to 150.0.7871.46.0#1170
vanadium-staging wants to merge 12 commits into
GrapheneOS:mainfrom
vanadium-staging:150.0.7871.46.0

Conversation

@vanadium-staging

Copy link
Copy Markdown
Contributor

No description provided.

Comment on lines +61 to +67
+ public static void setCommaDelimitedSwitchValue(String name, List<String> value) {
+ if (value.isEmpty()) {
+ CommandLine.getInstance().appendSwitch(name);
+ } else {
+ CommandLine.getInstance().appendSwitchWithValue(name, TextUtils.join(",", value));
+ }
+ }

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Comment thread .gclient Outdated
'--output',
'src/vanadium/android_config/filter_lists/filter_lists_easylist_bulgaria.txt',
'--urls',
'http://stanev.org/abp/adblock_bg.txt']

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is not an https url and will be skipped

Comment on lines +18 to +19
if not url.startswith("https://"):
continue

@inthewaves inthewaves Jun 24, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This will skip non https urls, and thus skip Bulgaria

Comment on lines +18 to +31
if not url.startswith("https://"):
continue
context = ssl.create_default_context(ssl.Purpose.SERVER_AUTH)
context.minimum_version = ssl.TLSVersion.TLSv1_3
req = urllib.request.Request(url, headers={'User-Agent': 'Mozilla/5.0'})
with urllib.request.urlopen(url=req, context=context, timeout=30) as res:
while True:
buf = res.read(4096)
if not buf:
break
args.output.write(buf)
hasher.update(buf)
with open('.'.join([args.output.name, 'sha256']), 'w') as f:
f.write(hasher.hexdigest())

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This script doesn't check for network failures, and anything that gets skipped is factored into the hash. It's also not clear what these .txt.sha256 are for, since they're added to .gitignore in src/vanadium/android_config/filter_lists

If the host returned empty body, etc., then it will also write empty file

+ if (vanadiumConfigVersion >= 1) {
+ int order = p.getOrder();
+ p = new LongClickCopySummaryPreference(requireContext(), null);
+ p = new Preference(requireContext());

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is there a reason for this change away from LongClickCopySummaryPreference to Preference? The config version can no longer be long clicked to copy

Comment on lines +10 to +29
diff --git a/chrome/browser/magic_stack/android/java/src/org/chromium/chrome/browser/magic_stack/HomeModulesConfigManager.java b/chrome/browser/magic_stack/android/java/src/org/chromium/chrome/browser/magic_stack/HomeModulesConfigManager.java
index 0d80babfbdfb8..887d4fd43352e 100644
--- a/chrome/browser/magic_stack/android/java/src/org/chromium/chrome/browser/magic_stack/HomeModulesConfigManager.java
+++ b/chrome/browser/magic_stack/android/java/src/org/chromium/chrome/browser/magic_stack/HomeModulesConfigManager.java
@@ -86,7 +86,7 @@ public class HomeModulesConfigManager {
* @param moduleType {@link ModuleType} needed to be notified to the listeners.
*/
public boolean getPrefModuleTypeEnabled(@ModuleType int moduleType) {
- return mSharedPreferencesManager.readBoolean(getSettingsPreferenceKey(moduleType), true);
+ return mSharedPreferencesManager.readBoolean(getSettingsPreferenceKey(moduleType), false);
}

/**
@@ -103,7 +103,7 @@ public class HomeModulesConfigManager {
/** Returns the user preference for whether all cards in the magic stack are enabled. */
public boolean getPrefAllCardsEnabled() {
return mSharedPreferencesManager.readBoolean(
- ChromePreferenceKeys.HOME_MODULE_CARDS_ENABLED, true);
+ ChromePreferenceKeys.HOME_MODULE_CARDS_ENABLED, false);
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Note that this patch only modifies the getters for these preferences and no longer stubs out the setters. See previous:

https://github.com/GrapheneOS/Vanadium/blob/149.0.7827.197.0/patches/0230-disable-misleading-new-tab-cards-by-default.patch

@vanadium-staging
vanadium-staging force-pushed the 150.0.7871.46.0 branch 8 times, most recently from 0012c10 to a35a81d Compare June 24, 2026 20:32

@inthewaves inthewaves left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Existing WebView compat tests (atest GosCompatWebViewTests) pass

Should be merged with GrapheneOS/grapheneos.org#1553

@quh4gko8 quh4gko8 closed this Jun 30, 2026
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.

3 participants