Revert "Fix issue 52986: Wifi settings abnormal when screen rotation"

This reverts commit 3f9e2aec2e53fb025f0bd6160c7e403f9f8e22e3.