Register device after every restart.
GitOrigin-RevId: 2eed6eafb1f38a636603b16d400cc4f7505f8a0a
This commit is contained in:
parent
39e8379a86
commit
e18bce69a1
@ -317,7 +317,10 @@ void DeviceTokenManager::start_up() {
|
|||||||
}
|
}
|
||||||
token.token = serialized.substr(1);
|
token.token = serialized.substr(1);
|
||||||
}
|
}
|
||||||
LOG(INFO) << "GET device token " << token_type << "--->" << tokens_[token_type];
|
LOG(INFO) << "GET device token " << token_type << "--->" << token;
|
||||||
|
if (token.state == TokenInfo::State::Sync) {
|
||||||
|
token.state = TokenInfo::State::Register;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
loop();
|
loop();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user