Merge "WM : Add a visibility test in waitForEnterPip." into android12-dev