[automerger skipped] SF: Extract virtual display allocation from CE am: 1394860b5d am: 737d890b84 -s ours

am skip reason: Merged-In I209b245966e544d5ff55d5d118140cfcfa85db15 with SHA-1 1394860b5d is already in history

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

Change-Id: I844d1b552ce326fda11ce1f3863d1e867ad157ab