!3224 modify deviceinfo timeout define

Merge pull request !3224 from 杨浩/1008device
This commit is contained in:
openharmony_ci 2024-10-09 03:38:14 +00:00 committed by Gitee
commit 0026b53896
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 1 additions and 1 deletions

View File

@ -28,6 +28,7 @@ namespace OHOS {
namespace device_info {
static const int DEVINFO_SAID = 3902;
static const int DEVICEINFO_LOAD_SA_TIMEOUT_MS = 5000;
DeviceInfoKits::DeviceInfoKits() {}

View File

@ -48,7 +48,6 @@ private:
return deathRecipient_;
}
static const int DEVICEINFO_LOAD_SA_TIMEOUT_MS = 5000;
void LoadDeviceInfoSa(std::unique_lock<std::mutex> &lock);
sptr<IDeviceInfo> GetService(std::unique_lock<std::mutex> &lock);
std::mutex lock_;