commit | 09ea9724fa02a3bb126600bf39a139ebb5553eff | [log] [tgz] |
---|---|---|
author | Jason Monk <jmonk@google.com> | Thu Sep 03 12:48:25 2015 -0400 |
committer | Jason Monk <jmonk@google.com> | Thu Sep 03 12:50:01 2015 -0400 |
tree | b9b5de6043386336e34e2010278263ab89712ff8 | |
parent | 359170f4b08ca307568327c0546585800c413918 [diff] |
Start tether service with redeliver intent So that the intent comes back when we are restarted rather than null causing a crash. Bug: 23678853 Change-Id: I1697159d5557feb7a87b238f8efa99ed3142fe6a
diff --git a/src/com/android/settings/TetherService.java b/src/com/android/settings/TetherService.java index 9111332..b6effad 100644 --- a/src/com/android/settings/TetherService.java +++ b/src/com/android/settings/TetherService.java
@@ -125,7 +125,7 @@ } // We want to be started if we are killed accidently, so that we can be sure we finish // the check. - return START_STICKY; + return START_REDELIVER_INTENT; } @Override