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
@@ -41,12 +41,16 @@ class DeviceInfo : public api::DeviceInfo {
|
||||
|
||||
std::optional<std::filesystem::path> GetDownloadPath() const override;
|
||||
|
||||
std::optional<std::filesystem::path> GetAppDataPath() const override;
|
||||
std::optional<std::filesystem::path> GetLocalAppDataPath() const override;
|
||||
|
||||
std::optional<std::filesystem::path> GetCommonAppDataPath() const override;
|
||||
|
||||
std::optional<std::filesystem::path> GetTemporaryPath() const override;
|
||||
|
||||
std::optional<std::filesystem::path> GetLogPath() const override;
|
||||
|
||||
std::optional<std::filesystem::path> GetCrashDumpPath() const override;
|
||||
|
||||
bool IsScreenLocked() const override;
|
||||
|
||||
void RegisterScreenLockedListener(
|
||||
|
||||
@@ -43,7 +43,11 @@ std::optional<std::filesystem::path> DeviceInfo::GetDownloadPath() const {
|
||||
return std::filesystem::temp_directory_path();
|
||||
}
|
||||
|
||||
std::optional<std::filesystem::path> DeviceInfo::GetAppDataPath() const {
|
||||
std::optional<std::filesystem::path> DeviceInfo::GetLocalAppDataPath() const {
|
||||
return std::filesystem::temp_directory_path();
|
||||
}
|
||||
|
||||
std::optional<std::filesystem::path> DeviceInfo::GetCommonAppDataPath() const {
|
||||
return std::filesystem::temp_directory_path();
|
||||
}
|
||||
|
||||
@@ -55,6 +59,10 @@ std::optional<std::filesystem::path> DeviceInfo::GetLogPath() const {
|
||||
return std::filesystem::temp_directory_path();
|
||||
}
|
||||
|
||||
std::optional<std::filesystem::path> DeviceInfo::GetCrashDumpPath() const {
|
||||
return std::filesystem::temp_directory_path();
|
||||
}
|
||||
|
||||
bool DeviceInfo::IsScreenLocked() const { return false; }
|
||||
|
||||
void DeviceInfo::RegisterScreenLockedListener(
|
||||
|
||||
Reference in New Issue
Block a user