diff options
| author | 2018-10-03 18:22:41 -0700 | |
|---|---|---|
| committer | 2018-10-03 18:22:41 -0700 | |
| commit | d64ab297d527d26d89cee025148a5cfddd5e35d2 (patch) | |
| tree | 54794e2042c6826d609e78ef159df2fabadb8f4b | |
| parent | de5606cd52d1aa0a44d13690b08c7ac931892de5 (diff) | |
| parent | 58c7bcf12e1459cf5f3b98e9d175476f87baac11 (diff) | |
Merge "docs: bug 37126744, typos" into pi-dev
am: 58c7bcf12e
Change-Id: I5a7b100cc186e92a16e1572a1cbee3f789e8df58
| -rw-r--r-- | core/java/android/app/Service.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/java/android/app/Service.java b/core/java/android/app/Service.java index 67acfe906915..16f6bdaa4313 100644 --- a/core/java/android/app/Service.java +++ b/core/java/android/app/Service.java @@ -21,13 +21,13 @@ import android.annotation.Nullable; import android.annotation.UnsupportedAppUsage; import android.content.ComponentCallbacks2; import android.content.ComponentName; -import android.content.Intent; -import android.content.ContextWrapper; import android.content.Context; +import android.content.ContextWrapper; +import android.content.Intent; import android.content.res.Configuration; import android.os.Build; -import android.os.RemoteException; import android.os.IBinder; +import android.os.RemoteException; import android.util.Log; import java.io.FileDescriptor; @@ -391,7 +391,7 @@ public abstract class Service extends ContextWrapper implements ComponentCallbac * don't recreate until a future explicit call to * {@link Context#startService Context.startService(Intent)}. The * service will not receive a {@link #onStartCommand(Intent, int, int)} - * call with a null Intent because it will not be re-started if there + * call with a null Intent because it will not be restarted if there * are no pending Intents to deliver. * * <p>This mode makes sense for things that want to do some work as a @@ -416,7 +416,7 @@ public abstract class Service extends ContextWrapper implements ComponentCallbac * redelivery until the service calls {@link #stopSelf(int)} with the * start ID provided to {@link #onStartCommand}. The * service will not receive a {@link #onStartCommand(Intent, int, int)} - * call with a null Intent because it will will only be re-started if + * call with a null Intent because it will only be restarted if * it is not finished processing all Intents sent to it (and any such * pending events will be delivered at the point of restart). */ |