Set wallpaper to invisible only if it is not visible-requested

After transition animation is done, the wallpaper may be still
visible, then it is unnecessary to always commit as invisible.

Bug: 183165393
Test: Swipe from landscape app to portrait home
Change-Id: I20936aa51d210f49824987936ca65d4cdc97e33f
1 file changed