Force export passwords to local storage on Android; fixes brave/brave… (#23901)

Force export passwords to local storage on Android

fixes brave/brave-browser#38655
This commit is contained in:
AlexeyBarabash
2024-05-30 00:58:27 +03:00
committed by GitHub
parent 7462e07fe9
commit de75edfe8e
8 changed files with 76 additions and 0 deletions
+10
View File
@@ -871,3 +871,13 @@
-keep class org.chromium.chrome.browser.omnibox.suggestions.editurl.BraveEditUrlSuggestionProcessor {
public <init>(...);
}
-keep class org.chromium.chrome.browser.password_manager.settings.ExportFlow {
public <init>(...);
*** runSharePasswordsIntent(...);
*** runCreateFileOnDiskIntent(...);
}
-keep class org.chromium.chrome.browser.password_manager.settings.BraveExportFlow {
public <init>(...);
}
@@ -0,0 +1,14 @@
/* Copyright (c) 2024 The Brave Authors. All rights reserved.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at https://mozilla.org/MPL/2.0/. */
package org.chromium.chrome.browser.password_manager.settings;
import org.chromium.base.BraveReflectionUtil;
public class BraveExportFlow extends ExportFlow {
public void runSharePasswordsIntent() {
BraveReflectionUtil.InvokeMethod(ExportFlow.class, this, "runCreateFileOnDiskIntent");
}
}
+4
View File
@@ -57,3 +57,7 @@
*** shouldUseParentIds(...);
*** getOrCreateTabGroupId(...);
}
-keep class org.chromium.chrome.browser.password_manager.settings.ExportFlow {
*** runCreateFileOnDiskIntent(...);
}