Closed grote closed 5 months ago
We call initializeTransportsForUser() after selecting new storage which is in line with the API docs.
initializeTransportsForUser
However, when doing the first backup, the system forces us to do another initialization, because @pm@ has no data stored: https://cs.android.com/android/platform/superproject/main/+/main:frameworks/base/services/backup/java/com/android/server/backup/keyvalue/KeyValueBackupTask.java;l=627;drc=1e6cad07e738f3a7c2baf7639b45e043db892d3c
@pm@
Fixed by #628
We call
initializeTransportsForUser
() after selecting new storage which is in line with the API docs.However, when doing the first backup, the system forces us to do another initialization, because
@pm@
has no data stored: https://cs.android.com/android/platform/superproject/main/+/main:frameworks/base/services/backup/java/com/android/server/backup/keyvalue/KeyValueBackupTask.java;l=627;drc=1e6cad07e738f3a7c2baf7639b45e043db892d3c