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