Update javadoc for setLaunchDisplayId

.. to match behavior post I1f9662c2bd14b34e00fbc8ebb926538f0329c37a

Bug: 167593637
Test: Javadoc change only.
Change-Id: I4cb9fe4a5ae74b1474f9da39b6aeb3a374f8cf12
This commit is contained in:
Linus Tufvesson
2020-10-07 16:43:30 +01:00
parent 5ad4ec37a0
commit 334190f26e

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}.