From ba90d6dc1f95b3591ad2552b16083345c62d2413 Mon Sep 17 00:00:00 2001 From: Sudheer Shanka Date: Tue, 31 Jan 2023 09:22:09 -0800 Subject: [PATCH] Add javadoc for isDeferUntilActive(). Bug: 267312444 Test: TH Change-Id: I9f925b4b8eac6552378cbb5bd7669b77a27901b9 --- core/java/android/app/BroadcastOptions.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/core/java/android/app/BroadcastOptions.java b/core/java/android/app/BroadcastOptions.java index 88765c3b35e25..d83377ca851a5 100644 --- a/core/java/android/app/BroadcastOptions.java +++ b/core/java/android/app/BroadcastOptions.java @@ -716,7 +716,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;