Merge "Add javadoc for isDeferUntilActive()."

This commit is contained in:
Sudheer Shanka
2023-02-02 19:38:13 +00:00
committed by Android (Google) Code Review

View File

@@ -774,7 +774,15 @@ public class BroadcastOptions extends ComponentOptions {
return this;
}
/** @hide */
/**
* Returns if this broadcast should not run until the process is in an active process state.
*
* @return {@code true} if this broadcast should not run until the process is in an active
* process state. Otherwise, {@code false}.
* @see #setDeferUntilActive(boolean)
*
* @hide
*/
@SystemApi
public boolean isDeferUntilActive() {
return mIsDeferUntilActive;