Revert "[ActivityManager]: Fix the activity visibility state not sync between ActivityManager and WindowManager"

This reverts commit 4e89c1fd257210c17f20c541a68ece540d728178.