mirror of
https://github.com/yuliskov/SmartTube.git
synced 2026-03-13 15:20:26 +08:00
Local restore from zip: init fix
This commit is contained in:
@@ -18,6 +18,8 @@ public class BackupReceiverActivity extends Activity {
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
mRestoreHelper = new BackupAndRestoreHelper(this);
|
||||
|
||||
// Android 11+ (API 30+) removed the need for storage permission
|
||||
// when accessing files via content:// URIs. Apps are granted temporary
|
||||
// access to the URI by the sender, so you can read the file without
|
||||
@@ -52,7 +54,6 @@ public class BackupReceiverActivity extends Activity {
|
||||
}
|
||||
|
||||
private void restoreData() {
|
||||
mRestoreHelper = new BackupAndRestoreHelper(this);
|
||||
mRestoreHelper.handleIncomingZip(getIntent());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user