diff options
author | Purushottam Kushwaha <pkushwah@codeaurora.org> | 2018-06-21 20:09:19 +0530 |
---|---|---|
committer | Purushottam Kushwaha <pkushwah@codeaurora.org> | 2018-06-22 16:59:06 +0530 |
commit | 49aadfd35af2a98e007583019809216909310b9c (patch) | |
tree | a63a6892e133606a7e691a6c620eb4cd8bad9850 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 459122ef7d88b6b4df3413d1a3e92b672fd34e94 (diff) |
WiFiDisplayController: Defer the P2P Initialization from its constructor.
P2PManager initialization from WiFiDisplayController’s constructor
would start a p2p interface on the boot up when persist.debug.wfd.enable is set.
This would block the NAN operations if NAN and P2P concurrency is not
Supported.
Moreover , this initialization of P2P in WiFiDisplayController’s constructor is
Needless as this would be required for any of the P2P operations that would
happen at later point of time , based on the user’s trigger.
Thus , move this P2P initialization to the first action point of P2P operation
In WiFiDisplayController.
NOTE: Once initialization of P2P is done in WiFiDisplayController, it is not
de-initialized again. Thus P2P interface would exist and further NAN start would
fail until device is rebooted. This issue need to be fixed.
Change-Id: Ia26aee2f6496cf11aba3c99dcb55c3264ea0a5c0
CRs-Fixed: 2258826
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions