intel / IA-Hardware-Composer

35 stars 81 forks source link

Re-invoke SetActiveConfig for Hotplug to initialize ClientLayer #634

Closed Shao-Feng closed 5 years ago

Shao-Feng commented 5 years ago

SetActiveConfig is not invoked by SF when hotplug even the display is not primary. HWC must invoke it for initialize the clientLayer.

Change-Id: I2e4a2321d28f59c718db8c743c9513c469066f68 Tests: Work well for HotPlug on Android Q Tracked-On: None Signed-off-by: Shaofeng Tang shaofeng.tang@intel.com

Shao-Feng commented 5 years ago

@jennycao this patch should fix the missing client layer in hotplug

dyang23 commented 5 years ago

nice catch, LGTM.