jensstein / oandbackup

backup manager for android
Other
544 stars 193 forks source link

Requires restart to notice installed apps for restore #171

Open BenSturmfels opened 7 years ago

BenSturmfels commented 7 years ago

Thanks for the really useful app!

Just copying data across to a new Replicant 6.0 device and using oandbackup 0.2.12.1 from F-Droid.

I copied data-only backups into the oandbackup directory via adb, which it recognises, but of course can't restore without the original app, eg. K9. After installing K9 via F-Droid oandbackup still doesn't realise that the app is available:

app cannot be restored from a backup without apk

After killing oandbackup and restarting it, it recognises that K9 is installed and will restore the data-only back.

It would be more intuitive if oandbackup recognised immediately when apps were installed.

BenSturmfels commented 7 years ago

Ah, I see that there is a refresh icon that is hidden on my smaller-screen Galaxy S2 but is available from the menu in top right.

nikwen commented 6 years ago

Implementing this would probably not be too hard. If anyone is willing to do this, it would require setting up a BroadcastReceiver for the Intent.ACTION_PACKAGE* actions, e.g. https://developer.android.com/reference/android/content/Intent.html#ACTION_PACKAGE_ADDED.