!7028 优化getDefaultDisplaySync接口耗时

Merge pull request !7028 from cuifeihe/master
This commit is contained in:
openharmony_ci 2024-06-25 02:56:25 +00:00 committed by Gitee
commit a344b9a5d0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -33,7 +33,7 @@ namespace {
const static uint32_t MAX_RETRY_NUM = 6;
const static uint32_t RETRY_WAIT_MS = 500;
const static uint32_t MAX_DISPLAY_SIZE = 32;
const static uint32_t MAX_INTERVAL_US = 13000;
const static uint32_t MAX_INTERVAL_US = 15000;
std::atomic<bool> g_dmIsDestroyed = false;
}
WM_IMPLEMENT_SINGLE_INSTANCE(DisplayManager)