Open t-m-w opened 3 months ago
I think we should always restore all apps bypassing the restriction if possible as even if an app is old, it may be important to the user (such as being a medical app). However, I assume not all OS integrating Seedvault would want this behaviour so we should allow them to override it as well.
Some apps, e.g. the old Pebble app for smartwatches, can no longer be installed easily in newer versions of Android due to their old target SDK version. These apps can continue to be used if they were already installed (or if they were installed using an
adb
flag to override the restriction), and Seedvault backs up these apps, but it fails to install them during a restoration. We should have enough info for Seedvault to display an intelligible error or handle this in some other way.D ApkInstaller: Received result for com.getpebble.android.basalt: success=false INSTALL_FAILED_DEPRECATED_SDK_VERSION: App package must target at least SDK version 23, but found 22