Browse files

even closer

  • Loading branch information...
1 parent 86d954f commit 6a5eb23c08bab5a68309286d1a26d4e175708533 @ghazel ghazel committed Aug 16, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/og/android/tether/TetherService.java
View
3 src/og/android/tether/TetherService.java
@@ -315,6 +315,8 @@ public void stopTether() {
new Thread(new Runnable() { public void run() {
+ TetherApplication.singleton.reportStats(STATE_IDLE, false);
+
// Disabling polling-threads
TetherService.this.trafficCounterEnable(false);
TetherService.this.dnsUpdateEnable(false);
@@ -329,7 +331,6 @@ public void stopTether() {
if (configAdv) {
tetherCommand = "/bin/tether stopadv";
}
- TetherApplication.singleton.reportStats(STATE_IDLE, false);
boolean stopped = TetherService.this.application.coretask.runRootCommand(
TetherService.this.application.coretask.DATA_FILE_PATH + tetherCommand);
if(!stopped)

0 comments on commit 6a5eb23

Please sign in to comment.