diff --git a/base/cvd/cuttlefish/host/libs/config/camera.cpp b/base/cvd/cuttlefish/host/libs/config/camera.cpp index 4f241826114..5669bb28cdc 100644 --- a/base/cvd/cuttlefish/host/libs/config/camera.cpp +++ b/base/cvd/cuttlefish/host/libs/config/camera.cpp @@ -21,7 +21,7 @@ #include #include -#include +#include "absl/strings/str_split.h" #include "cuttlefish/common/libs/utils/flag_parser.h" #include "cuttlefish/host/libs/config/cuttlefish_config.h" @@ -36,9 +36,9 @@ Result> ParseCameraConfig( const std::string& flag) { std::unordered_map props; if (!flag.empty()) { - const std::vector pairs = android::base::Split(flag, ","); + const std::vector pairs = absl::StrSplit(flag, ","); for (const std::string& pair : pairs) { - const std::vector keyvalue = android::base::Split(pair, "="); + const std::vector keyvalue = absl::StrSplit(pair, "="); CF_EXPECT_EQ(keyvalue.size(), 2, "Invalid camera flag key-value: \"" << flag << "\""); const std::string& prop_key = keyvalue[0];