Merge pull request #5560 from brave/android-export-db

Add import/export db for QA. Issue #9766.
This commit is contained in:
samartnik
2020-05-21 06:58:27 -04:00
committed by GitHub
9 changed files with 440 additions and 51 deletions
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2020 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 http://mozilla.org/MPL/2.0/.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" android:orderingFromXml="true">
<org.chromium.chrome.browser.settings.ChromeBasePreference
android:key="export_rewards_db"
android:title="Export Rewards Database" />
</PreferenceScreen>
@@ -24,4 +24,8 @@
android:fragment="org.chromium.chrome.browser.settings.developer.BraveQAPreferences"
android:key="qa_preferences"
android:title="QA Preferences"/>
<Preference
android:fragment="org.chromium.chrome.browser.settings.developer.BraveRewardsDebugPreferences"
android:key="brave_rewards_debug_preferences"
android:title="Rewards Debug"/>
</PreferenceScreen>
+9 -1
View File
@@ -26,5 +26,13 @@
android:summaryOn="@string/text_on"
android:summaryOff="@string/text_off"
android:defaultValue="false" />
<org.chromium.chrome.browser.settings.ChromeBasePreference
android:key="qa_import_rewards_db"
android:title="Import Rewards Database"/>
<org.chromium.chrome.browser.settings.ChromeBasePreference
android:key="qa_export_rewards_db"
android:title="Export Rewards Database" />
</PreferenceScreen>