Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1a72cf2e authored by Hans Boehm's avatar Hans Boehm Committed by android-build-merger
Browse files

Merge "Improve grammar in startService() documentation." am: e3a25ad6

am: cc9c83db

* commit 'cc9c83db':
  Improve grammar in startService() documentation.

Change-Id: I7a7296839c0b9ec89002dead994cc346e1969567
parents 35ad9d86 cc9c83db
Loading
Loading
Loading
Loading
+5 −5
Original line number Original line Diff line number Diff line
@@ -2417,10 +2417,10 @@ public abstract class Context {


    /**
    /**
     * Request that a given application service be started.  The Intent
     * Request that a given application service be started.  The Intent
     * should contain either contain the complete class name of a specific service
     * should either contain the complete class name of a specific service
     * implementation to start or a specific package name to target.  If the
     * implementation to start, or a specific package name to target.  If the
     * Intent is less specified, it log a warning about this and which of the
     * Intent is less specified, it logs a warning about this.  In this case any of the
     * multiple matching services it finds and uses will be undefined.  If this service
     * multiple matching services may be used.  If this service
     * is not already running, it will be instantiated and started (creating a
     * is not already running, it will be instantiated and started (creating a
     * process for it if needed); if it is running then it remains running.
     * process for it if needed); if it is running then it remains running.
     *
     *
@@ -2434,7 +2434,7 @@ public abstract class Context {
     * managed by {@link #bindService}: it requires the service to remain
     * managed by {@link #bindService}: it requires the service to remain
     * running until {@link #stopService} is called, regardless of whether
     * running until {@link #stopService} is called, regardless of whether
     * any clients are connected to it.  Note that calls to startService()
     * any clients are connected to it.  Note that calls to startService()
     * are not nesting: no matter how many times you call startService(),
     * do not nest: no matter how many times you call startService(),
     * a single call to {@link #stopService} will stop it.
     * a single call to {@link #stopService} will stop it.
     *
     *
     * <p>The system attempts to keep running services around as much as
     * <p>The system attempts to keep running services around as much as