34fb06a673
Sync loop root-cause fixes (three independent bugs): 1. Folder change clears stale file states (AddPairViewModel): when localPath or remotePath changes on an existing pair, all SyncFileStateEntity records are wiped. Previously those stale records caused every sync to attempt DELETE_REMOTE on the old folder's files and to treat all new-folder files as changed — causing both the "deleting 32 files" loop and rewrites on every run. 2. Download stores null localModifiedAt (SyncEngine): SAF document cursors can return a stale mtime immediately after a write. Storing null forces the SKIP reconciliation pass on the next sync to read the actual walkFiles cursor value, breaking the download->changed-> download loop caused by mtime inconsistency. 3. Second-precision mtime comparison (syncDecide): WebDAV RFC-1123 has 1-second precision; FAT32 has 2-second precision. Comparing at millisecond level caused phantom "changed" detections after syncing to/from these systems. Now uses epochSecond for both local and remote. Icon: three bold teal/red/yellow teardrop streaks (Avast palette) flying into a white cloud centre, on dark charcoal background. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
882 B
XML
26 lines
882 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:aapt="http://schemas.android.com/aapt"
|
|
android:width="108dp"
|
|
android:height="108dp"
|
|
android:viewportWidth="108"
|
|
android:viewportHeight="108">
|
|
|
|
<!-- Dark charcoal background, matching Avast-style dark icon bg -->
|
|
<path android:pathData="M0,0 H108 V108 H0 Z"
|
|
android:fillColor="#1F1F2E"/>
|
|
|
|
<!-- Very subtle inner glow -->
|
|
<path android:pathData="M0,0 H108 V108 H0 Z"
|
|
android:fillAlpha="0.25">
|
|
<aapt:attr name="android:fillColor">
|
|
<gradient android:type="radial"
|
|
android:gradientRadius="60"
|
|
android:centerX="54" android:centerY="50"
|
|
android:startColor="#3D3A50"
|
|
android:endColor="#00000000"/>
|
|
</aapt:attr>
|
|
</path>
|
|
|
|
</vector>
|