Merge "sdm: Avoid flush for virtual display when no app layer is present." into dev-2.0