mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-27 02:40:40 +00:00
!7292 Networking is not allowed until the first unlocking after restart
Merge pull request !7292 from libaoping28/master
This commit is contained in:
commit
9fd1455a4e
@ -46,6 +46,7 @@ int32_t LnnTriggerDataLevelHeartbeat(void);
|
||||
int32_t LnnTriggerCloudSyncHeartbeat(void);
|
||||
void LnnRegDataLevelChangeCb(const IDataLevelChangeCallback *callback);
|
||||
void LnnUnregDataLevelChangeCb(void);
|
||||
bool IsHeartbeatEnable(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -102,7 +102,7 @@ static void InitHbSpecificConditionState(void)
|
||||
}
|
||||
}
|
||||
|
||||
static bool IsHeartbeatEnable(void)
|
||||
bool IsHeartbeatEnable(void)
|
||||
{
|
||||
if ((g_hbConditionState.lockState == SOFTBUS_SCREEN_LOCK_UNKNOWN) && IsActiveOsAccountUnlocked()) {
|
||||
g_hbConditionState.lockState = SOFTBUS_SCREEN_UNLOCK;
|
||||
|
Loading…
Reference in New Issue
Block a user