summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Hui Yu <huiyu@google.com> 2023-03-31 17:35:55 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2023-03-31 17:35:55 +0000
commitfc6b0f0d9b1460ae03f502e4e9f26d6f1f750f76 (patch)
tree316375256072c478fe618e0aafeacc9d7ac2b23a
parent952b8f15922babea6539c74eea600c3d85d98cb0 (diff)
parentef7287717d5e69ad3391845cef56cf7592ef5d36 (diff)
Merge "Fix typos in comments." into udc-dev
-rw-r--r--services/core/java/com/android/server/am/ActiveServices.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/services/core/java/com/android/server/am/ActiveServices.java b/services/core/java/com/android/server/am/ActiveServices.java
index 8fe61e719817..78cbf2bd80d8 100644
--- a/services/core/java/com/android/server/am/ActiveServices.java
+++ b/services/core/java/com/android/server/am/ActiveServices.java
@@ -807,9 +807,9 @@ public final class ActiveServices {
ServiceRecord r = res.record;
// Note, when startService() or startForegroundService() is called on an already
// running SHORT_SERVICE FGS, the call will succeed (i.e. we won't throw
- // ForegroundServiceStartNotAllowedException), even when the service is alerady timed
- // out. This is because these APIs will essnetially only change the "started" state
- // of the service, and it won't afect "the foreground-ness" of the service, or the type
+ // ForegroundServiceStartNotAllowedException), even when the service is already timed
+ // out. This is because these APIs will essentially only change the "started" state
+ // of the service, and it won't affect "the foreground-ness" of the service, or the type
// of the FGS.
// However, this call will still _not_ extend the SHORT_SERVICE timeout either.
// Also, if the app tries to change the type of the FGS later (using