Files
frameworks_base/core/java/android/app
Felipe Leme 23fbfb82b4 Changes AM.startUserInBgOnSecondaryDisplay() to check if display is valid.
Also adds APIs to list the valid displays:
- @TestApi AM getSecondaryDisplayIdsForStartingBackgroundUsers()
- cmd activity list-secondary-displays-for-starting-users
- system property
  (fw.secondary_display_for_starting_users_for_testing_purposes)
  to override it for testing purposes

Test: m -j update-api
Test: adb shell cmd activity list-secondary-displays-for-starting-users
Test: atest MultipleUsersOnMultipleDisplaysTest # CTS
Test: atest ActivityManagerServiceTest ActivityManagerServiceInjectorTest # unit

Bug: 239982558

Change-Id: Iaf5c83344075cce9985885a3f9359ebbd0174d41
2022-09-28 00:08:26 +00:00
..
2022-07-18 14:50:24 +01:00
2022-07-18 14:50:24 +01:00
2022-04-21 10:23:10 -07:00
…
2022-09-12 23:53:24 +00:00
2022-09-16 15:34:11 -04:00
…
2022-04-25 21:59:59 +00:00