In API 27, Android added a close() method for WifiP2pManager.Channel. Is this a better alternative to removeGroup? Should I do both? If I call close(), after closing, should I call initialize() to get a new channel, or should I just keep using the existing channel? The documentation is unclear.
There is an existing question, but I believe that was before close() was added.