From a1f865c82995cd013bf7fe5e37225187ee6660a6 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Thu, 12 Oct 2023 04:14:28 +0530 Subject: [PATCH] overlay: SimpleDeviceConfig: Adjust values for SeedVault Backup usage * https://android.googlesource.com/platform/frameworks/base/+/3f82689d2b59f1437479ccb3fb69e662a98ac2fb timeout reduced to 5min (from 10min) "our data shows this is a reasonable value." * However, this affects us, our backup transport service gets destroyed and the backups fails. * Android 13 had 600000, this is even a bit higher to make it less likely that users run into this problem. Ref: * https://github.com/seedvault-app/seedvault/issues/564#issuecomment-1758222387 * https://github.com/seedvault-app/seedvault/issues/583 Test: adb shell device_config list backup_and_restore Change-Id: Iefe7d5f2ef53300e3368aa6e809b72dd0b0d1db5 --- .../packages/apps/SimpleDeviceConfig/res/values/config.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/overlay/common/packages/apps/SimpleDeviceConfig/res/values/config.xml b/overlay/common/packages/apps/SimpleDeviceConfig/res/values/config.xml index e78c6a126..27c587ae9 100644 --- a/overlay/common/packages/apps/SimpleDeviceConfig/res/values/config.xml +++ b/overlay/common/packages/apps/SimpleDeviceConfig/res/values/config.xml @@ -56,5 +56,9 @@ autofill/compat_mode_allowed_packages=com.android.chrome[url_bar]:com.brave.browser[url_bar]:com.brave.browser_beta[url_bar]:com.brave.browser_nightly[url_bar]:com.chrome.beta[url_bar]:com.chrome.dev[url_bar]:com.chrome.canary[url_bar]:com.microsoft.emmx[url_bar]:com.microsoft.emmx.beta[url_bar]:com.microsoft.emmx.canary[url_bar]:com.microsoft.emmx.dev[url_bar]:com.opera.browser[url_field]:com.opera.browser.beta[url_bar]:com.opera.mini.native[url_bar]:com.opera.mini.native.beta[url_bar]:com.sec.android.app.sbrowser[location_bar_edit_text]:com.sec.android.app.sbrowser.beta[location_bar_edit_text]:org.mozilla.fennec_aurora[url_bar]:org.mozilla.firefox[url_bar]:org.mozilla.firefox_beta[url_bar]:org.chromium.chrome[url_bar] + + + backup_and_restore/backup_transport_future_timeout_millis=900000 + backup_and_restore/backup_transport_callback_timeout_millis=900000