mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
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:
committed by
Copybara-Service
parent
270aad8ca8
commit
3d9ce368ff
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user