From a3b64f08b7f83d194f5cea545cbc50891cfb151e Mon Sep 17 00:00:00 2001 From: Andrew Solovay Date: Fri, 30 Jun 2023 20:23:32 +0000 Subject: [PATCH] docs: Fix phrasing for BroadcastReceiver.PendingResult Phrasing was a little garbled, I felt safe cleaning it up but please correct me if I got it wrong! NO_TEST , fixes a doc bug (no code edits). Test: [go/abtd docs build] Fixes: 289051151 Change-Id: Ibe22b10335a100c5d25d31bebc02dca439dca5f6 --- core/java/android/content/BroadcastReceiver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/content/BroadcastReceiver.java b/core/java/android/content/BroadcastReceiver.java index 3d76b28a3ccc6..d7195a76d8734 100644 --- a/core/java/android/content/BroadcastReceiver.java +++ b/core/java/android/content/BroadcastReceiver.java @@ -65,7 +65,7 @@ public abstract class BroadcastReceiver { * thread of your app. * *

Note on threading: the state inside of this class is not itself - * thread-safe, however you can use it from any thread if you properly + * thread-safe. However, you can use it from any thread if you make * sure that you do not have races. Typically this means you will hand * the entire object to another thread, which will be solely responsible * for setting any results and finally calling {@link #finish()}.