Reduce visibility of a field and two methods

This commit is contained in:
Sebastian Kürten
2021-07-21 13:19:26 +02:00
parent 355c487ec9
commit 46e391645c
3 changed files with 3 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ abstract class ConditionManager {
protected final Consumer<Boolean> permissionUpdateCallback;
protected FragmentActivity ctx;
protected WifiManager wifiManager;
WifiManager wifiManager;
ConditionManager(Consumer<Boolean> permissionUpdateCallback) {
this.permissionUpdateCallback = permissionUpdateCallback;

View File

@@ -157,7 +157,7 @@ class HotspotManager {
* We'll realize that the framework is busy when the ActionListener passed
* to {@link WifiP2pManager#createGroup} is called with onFailure(BUSY)
*/
void startWifiP2pFramework(int attempt) {
private void startWifiP2pFramework(int attempt) {
if (LOG.isLoggable(INFO))
LOG.info("startWifiP2pFramework attempt: " + attempt);
/*

View File

@@ -110,7 +110,7 @@ class HotspotViewModel extends DbViewModel
}
@UiThread
void stopHotspot() {
private void stopHotspot() {
ioExecutor.execute(webServerManager::stopWebServer);
hotspotManager.stopWifiP2pHotspot();
notificationManager.clearHotspotNotification();