docs: Add condition for hiding synth. activities

If an app doesn't have a launcher activity enabled by default, a
synthesized activity isn't created for that app.

Test: make ds-docs -j32

Bug: 140968734
Change-Id: I2fe8666ee8cde479f404e43c622f03891d96c38f
This commit is contained in:
Kevin Hufnagle
2019-09-13 02:18:44 +00:00
parent bf25aeaa84
commit b8779b82bb

View File

@@ -519,9 +519,9 @@ public class LauncherApps {
* <li>The app is a system app.</li>
* <li>The app doesn't request any <a href="/guide/topics/permissions/overview">permissions</a>.
* </li>
* <li>The <code>&lt;application&gt;</code> tag in the app's manifest doesn't contain any child
* elements that represent
* <a href="/guide/components/fundamentals#DeclaringComponents">app components</a>.</li>
* <li>The app doesn't have a <em>launcher activity</em> that is enabled by default. A launcher
* activity has an intent containing the <code>ACTION_MAIN</code> action and the
* <code>CATEGORY_LAUNCHER</code> category.</li>
* </ul>
*
* <p>Additionally, the system hides synthesized activities for some or all apps in the