Update javadoc for setLaunchDisplayId am: 334190f26e am: c37e102250

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12794770

Change-Id: I57cce60a4f3c34b00f2c215e49cde51b0daf11bd
This commit is contained in:
Linus Tufvesson
2020-10-09 21:42:16 +00:00
committed by Automerger Merge Worker

View File

@@ -1275,10 +1275,10 @@ public class ActivityOptions {
}
/**
* Sets the id of the display where activity should be launched.
* An app can launch activities on public displays or private displays that are owned by the app
* or where an app already has activities. Otherwise, trying to launch on a private display
* or providing an invalid display id will result in an exception.
* Sets the id of the display where the activity should be launched.
* An app can launch activities on public displays or displays where the app already has
* activities. Otherwise, trying to launch on a private display or providing an invalid display
* id will result in an exception.
* <p>
* Setting launch display id will be ignored on devices that don't have
* {@link android.content.pm.PackageManager#FEATURE_ACTIVITIES_ON_SECONDARY_DISPLAYS}.