commit | 337d4df015cfde786225cbfe9eb50158f6d90b3d | [log] [tgz] |
---|---|---|
author | Jimmy Chen <jimmycmchen@google.com> | Thu Jul 01 15:15:06 2021 +0800 |
committer | Jimmy Chen <jimmycmchen@google.com> | Fri Jul 02 10:56:30 2021 +0800 |
tree | dd74661b0f4aa7c7d5ad0dbc778813401a9b514e | |
parent | daaf6b65f2954433fbb2c417ad93d369340091b1 [diff] |
p2p: defer enabling p2p until the first command WFD initializes P2P once P2P is enabled, i.e. wifi is enabled. SAP will be disabled after toggle wifi off and on because P2P interface will be initialized along with WFD. Defer ENABLE_P2P command from getMessenger to avoid this racing case. Bug: 184504089 Test: atest FrameworksWifiTests Change-Id: Ib9ebd17ad91ab43c7f825ed2c16967a3ef8edeee