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
This commit is contained in:
Andrew Solovay
2023-06-30 20:23:32 +00:00
parent 4e5473b67e
commit a3b64f08b7

View File

@@ -65,7 +65,7 @@ public abstract class BroadcastReceiver {
* thread of your app. * thread of your app.
* *
* <p>Note on threading: the state inside of this class is not itself * <p>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 * sure that you do not have races. Typically this means you will hand
* the entire object to another thread, which will be solely responsible * the entire object to another thread, which will be solely responsible
* for setting any results and finally calling {@link #finish()}. * for setting any results and finally calling {@link #finish()}.