mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-23 12:42:56 -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) {
|
||||
toggleHotspot();
|
||||
} else {
|
||||
//TO DO: show Dialog() + within that add check mobile Data check later.
|
||||
//if (isMobileDataEnabled(context)) {
|
||||
// mobileDataDialog();
|
||||
//} else {
|
||||
@ -209,7 +208,6 @@ public class ZimHostActivity extends BaseActivity implements
|
||||
}
|
||||
|
||||
private void bindService() {
|
||||
|
||||
bindService(serviceIntent, serviceConnection, Context.BIND_AUTO_CREATE);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user