mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Merge pull request #10424 from JosJuice/android-export-empty-folders
Android: Include empty folders when exporting user data
This commit is contained in:
@ -320,6 +320,10 @@ public class UserDataActivity extends AppCompatActivity
|
||||
{
|
||||
exportUserData(zos, child, new File(pathRelativeToRoot, child.getName()));
|
||||
}
|
||||
if (children.length == 0 && pathRelativeToRoot != null)
|
||||
{
|
||||
zos.putNextEntry(new ZipEntry(pathRelativeToRoot.getPath() + '/'));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user