summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java/com/wireguard/config
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-08-13 06:16:05 -0500
committerSamuel Holland <samuel@sholland.org>2017-08-13 06:16:05 -0500
commit43500090b2ed4b3dec2749d4c75468b524a51f1a (patch)
tree6c48e595904cb7f944854d2f5fbd7ac7e684d4e6 /app/src/main/java/com/wireguard/config
parentdacd7457d27fb57f4c51b643d5a4e620a386d0b9 (diff)
ProfileService: Rework handling of updates, again
Prefer updating an object instead of replacing it. This preserves the selection in the UI list. Also make renaming atomic as it should be. Now the only possibility for data loss is if the old file can be opened but not written to. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/java/com/wireguard/config')
0 files changed, 0 insertions, 0 deletions