mirror of
https://gitee.com/openharmony/startup_init
synced 2024-11-23 16:20:00 +00:00
!3224 modify deviceinfo timeout define
Merge pull request !3224 from 杨浩/1008device
This commit is contained in:
commit
0026b53896
@ -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() {}
|
||||
|
||||
|
@ -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_;
|
||||
|
Loading…
Reference in New Issue
Block a user