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

Commit 7b8e543a authored by Charles Munger's avatar Charles Munger
Browse files

Clarify that stopped apps will receive explicit broadcasts

Bug: 318735636
Change-Id: If9de191dfe49c96bd1456f33ff5de2b1a76f90bd
parent 4a8491e5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -382,10 +382,10 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable {
     * start it unless initiated by a user interaction (typically launching its icon
     * from the launcher, could also include user actions like adding it as an app widget,
     * selecting it as a live wallpaper, selecting it as a keyboard, etc). Stopped
     * applications will not receive broadcasts unless the sender specifies
     * applications will not receive implicit broadcasts unless the sender specifies
     * {@link android.content.Intent#FLAG_INCLUDE_STOPPED_PACKAGES}.
     *
     * <p>Applications should avoid launching activies, binding to or starting services, or
     * <p>Applications should avoid launching activities, binding to or starting services, or
     * otherwise causing a stopped application to run unless initiated by the user.
     *
     * <p>An app can also return to the stopped state by a "force stop".