mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
Reduce visibility of a field and two methods
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
/*
|
||||
|
||||
@@ -110,7 +110,7 @@ class HotspotViewModel extends DbViewModel
|
||||
}
|
||||
|
||||
@UiThread
|
||||
void stopHotspot() {
|
||||
private void stopHotspot() {
|
||||
ioExecutor.execute(webServerManager::stopWebServer);
|
||||
hotspotManager.stopWifiP2pHotspot();
|
||||
notificationManager.clearHotspotNotification();
|
||||
|
||||
Reference in New Issue
Block a user