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

Skip to content
Commit b8837396 authored by Yi-Yo Chiang's avatar Yi-Yo Chiang
Browse files

Reland "Replace strtok_r() with C++-style android::base::Tokenize()"

android::base::Tokenize() is like android::base::Split() but ignores
empty tokens. Think strtok_r() and strsep().
C++-ify parsing code by replacing strtok_r() with Tokenize(), which
results in more concise and readable code.

Bug: 204056804
Test: atest CtsFsMgrTestCases
(cherry picked from commit 3c1b581f)

Change-Id: Icce8c1b5ad074421052f68fa138d90adb85cca27
parent fec41dda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment