Resolve synthetic accessor warning

This commit is contained in:
Adeel Zafar 2019-08-16 03:20:13 +05:00
parent 0abc7a3189
commit 414a667564
3 changed files with 6 additions and 6 deletions

View File

@ -82,9 +82,9 @@ public class ZimHostActivity extends BaseActivity implements
private Task<LocationSettingsResponse> task;
private BooksOnDiskAdapter booksAdapter;
private HotspotService hotspotService;
HotspotService hotspotService;
private String ip;
private boolean bound;
boolean bound;
private ServiceConnection serviceConnection;
private ArrayList<String> selectedBooksPath = new ArrayList<>();

View File

@ -144,7 +144,7 @@ public class HotspotService extends Service {
}
//Dismiss notification and turn off hotspot for devices>=O
private void stopHotspotAndDismissNotification() {
void stopHotspotAndDismissNotification() {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
hotspotManager.turnOffHotspot();
}

View File

@ -19,9 +19,9 @@ import org.kiwix.kiwixmobile.webserver.ServerStateListener;
public class WifiHotspotManager {
private final WifiManager wifiManager;
private final Context context;
private WifiManager.LocalOnlyHotspotReservation hotspotReservation;
private boolean isHotspotEnabled;
private WifiConfiguration currentConfig;
WifiManager.LocalOnlyHotspotReservation hotspotReservation;
boolean isHotspotEnabled;
WifiConfiguration currentConfig;
private static final String TAG = "WifiHotspotManager";
public WifiHotspotManager(@NonNull Context context) {