Fixed crashpad db creation failure and changed root to CommonAppData. Changed captured Nearby Share Info to save to CommonAppData. Changed Clearcut root to CommonAppData.

PiperOrigin-RevId: 506528040
This commit is contained in:
Eiden Kim
2023-02-01 23:15:22 -08:00
committed by Copybara-Service
parent 270aad8ca8
commit 3d9ce368ff
8 changed files with 64 additions and 12 deletions
@@ -59,7 +59,11 @@ class DeviceInfo : public api::DeviceInfo {
return std::filesystem::temp_directory_path();
}
std::optional<std::filesystem::path> GetAppDataPath() const override {
std::optional<std::filesystem::path> GetLocalAppDataPath() const override {
return std::filesystem::temp_directory_path();
}
std::optional<std::filesystem::path> GetCommonAppDataPath() const override {
return std::filesystem::temp_directory_path();
}
@@ -71,6 +75,10 @@ class DeviceInfo : public api::DeviceInfo {
return std::filesystem::temp_directory_path();
}
std::optional<std::filesystem::path> GetCrashDumpPath() const override {
return std::filesystem::temp_directory_path();
}
bool IsScreenLocked() const override { return false; }
void RegisterScreenLockedListener(