Esempio n. 1
0
 private void checkFreeInternet() {
     if (ShellUtils.isRooted()) {
         CheckFreeInternetService.execute(this);
     } else {
         if (LaunchService.isVpnRunning()) {
             onFreeInternetChanged(true);
         }
     }
 }
Esempio n. 2
0
 private void checkPickAndPlay() {
     if (ShellUtils.isRooted()) {
         CheckPickAndPlayService.execute(this);
     }
 }
Esempio n. 3
0
 private void checkWifiRepeater() {
     if (ShellUtils.isRooted() && Build.VERSION.SDK_INT >= 14) {
         CheckWifiRepeaterService.execute(this);
     }
 }