mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-24 05:04:50 -04:00
Refactor ZimHostActivity
This commit is contained in:
parent
fdca805717
commit
8300dea416
@ -161,7 +161,6 @@ public class ZimHostActivity extends BaseActivity implements
|
|||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
||||||
toggleHotspot();
|
toggleHotspot();
|
||||||
} else {
|
} else {
|
||||||
//TO DO: show Dialog() + within that add check mobile Data check later.
|
|
||||||
//if (isMobileDataEnabled(context)) {
|
//if (isMobileDataEnabled(context)) {
|
||||||
// mobileDataDialog();
|
// mobileDataDialog();
|
||||||
//} else {
|
//} else {
|
||||||
@ -209,7 +208,6 @@ public class ZimHostActivity extends BaseActivity implements
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void bindService() {
|
private void bindService() {
|
||||||
|
|
||||||
bindService(serviceIntent, serviceConnection, Context.BIND_AUTO_CREATE);
|
bindService(serviceIntent, serviceConnection, Context.BIND_AUTO_CREATE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user