Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50d23f1e authored by yro's avatar yro
Browse files

Fix a bug of reading files with "_" separator

Test: manual testing
Change-Id: Ibb19336122684712b3eb73088553acd9438b7611
parent 877553e3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ static void parseFileName(char* name, int64_t* result) {
}

static string getFilePath(const char* path, int64_t timestamp, int64_t uid, int64_t configID) {
    return StringPrintf("%s/%lld-%d-%lld", path, (long long)timestamp, (int)uid,
    return StringPrintf("%s/%lld_%d_%lld", path, (long long)timestamp, (int)uid,
                        (long long)configID);
}