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