Browse Source

Preference fix

master
wchen342 1 year ago
parent
commit
90ed7485e9
Signed by: wchen342 GPG Key ID: 9C19365D69B04CEC
  1. 11
      chromium-94.0.4606.61-ungoogled-pref-fix.patch
  2. 6
      ungoogled-chromium.spec

11
chromium-94.0.4606.61-ungoogled-pref-fix.patch

@ -0,0 +1,11 @@
--- a/components/signin/internal/identity_manager/primary_account_manager.cc
+++ b/components/signin/internal/identity_manager/primary_account_manager.cc
@@ -170,7 +170,7 @@ void PrimaryAccountManager::SetSyncPrimaryAccountInternal(
std::string pref_account_id =
client_->GetPrefs()->GetString(prefs::kGoogleServicesAccountId);
bool consented_to_sync =
- client_->GetPrefs()->GetBoolean(prefs::kGoogleServicesConsentedToSync);
+ false;
DCHECK(pref_account_id.empty() || !consented_to_sync ||
pref_account_id == account_info.account_id.ToString())

6
ungoogled-chromium.spec

@ -335,6 +335,9 @@ Patch503: chromium-manpage.patch
# RPM Fusion patches [free/chromium-browser-privacy]:
Patch600: chromium-default-user-data-dir.patch
# ungoogled-chromium platform patches
Patch700: chromium-94.0.4606.61-ungoogled-pref-fix.patch
# Use chromium-latest.py to generate clean tarball from released build tarballs, found here:
# http://build.chromium.org/buildbot/official/
# For Chromium Fedora use chromium-latest.py --stable --ffmpegclean --ffmpegarm
@ -817,6 +820,9 @@ ln -s depot_tools-%{depot_tools_revision} ../depot_tools
# RPM Fusion patches [free/chromium-browser-privacy]:
%patch600 -p1 -b .default-user-dir
# ungoogled-chromium platform patches
%patch700 -p1 -b .ungoogled-pref-fix
# Change shebang in all relevant files in this directory and all subdirectories
# See `man find` for how the `-exec command {} +` syntax works
%if 0%{?build_with_python3}

Loading…
Cancel
Save