Mentions package visibility in the java doc of Intent class

Bug: 207588063
Test: Build
Change-Id: Ibde4eaf739db1db8417a273d73fa34fbe028024b
This commit is contained in:
Rhed Jao
2023-02-03 18:24:18 +08:00
parent 753f9b8b3b
commit d545a52579

View File

@@ -576,6 +576,13 @@ import java.util.TimeZone;
* <li> {@link #ACTION_SHUTDOWN}
* </ul>
*
* <p class="note"><strong>Note: </strong>If your app targets Android 11
* (API level 30) or higher, registering broadcast such as
* {@link #ACTION_PACKAGES_SUSPENDED} that includes package details in the
* extras receives a filtered list of apps or nothing. Learn more about how to
* <a href="/training/basics/intents/package-visibility">manage package visibility</a>.
* </p>
*
* <h3>Standard Categories</h3>
*
* <p>These are the current standard categories that can be used to further