Fixed bug with wrong task bounds when device is rotated 180°

When the device rotation changes we were rotating the task bounds
for tasks whose bounds shouldn't change independently from its
stack. This can cause the task and it windows to not show on screen
since they can end up outside the stack crop.
We now let the stack take care of the rotation for tasks that shouldn't
be resized independently of their stack.

Bug: 25970565
Change-Id: I82b78fbe233b57a4fd5df967f109eb532e0579d5
1 file changed