Commit 3255a28
Craig Mautner
Clear orientation variable until rotation is done.
In the old code orientationChangeComplete was set to true on each pass
through perfomLayout. If any window was rotating the variable was set
to false on the way through the performLayout. Since we can now make
passes through performLayout before any animation step occurs we were
seeing mOrientationChangeComplete true prior to rotation completing.
This change sets mOrientationChangeComplete false at the start of a
rotation and sets it to true if we ever get through an animation step
without encountering any rotating windows.
Change-Id: I37690cf20868dfbaac94a81640bc4d9cb9fb8f001 parent a0e9d0f commit 3255a28
File tree
2 files changed
+10
-1
lines changed- services/java/com/android/server/wm
2 files changed
+10
-1
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
| |||
655 | 656 | | |
656 | 657 | | |
657 | 658 | | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
658 | 662 | | |
659 | 663 | | |
660 | 664 | | |
| |||
915 | 919 | | |
916 | 920 | | |
917 | 921 | | |
| 922 | + | |
918 | 923 | | |
919 | 924 | | |
920 | 925 | | |
| |||
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4180 | 4180 | | |
4181 | 4181 | | |
4182 | 4182 | | |
| 4183 | + | |
4183 | 4184 | | |
4184 | 4185 | | |
4185 | 4186 | | |
| |||
5485 | 5486 | | |
5486 | 5487 | | |
5487 | 5488 | | |
| 5489 | + | |
5488 | 5490 | | |
5489 | 5491 | | |
5490 | 5492 | | |
| |||
7589 | 7591 | | |
7590 | 7592 | | |
7591 | 7593 | | |
| 7594 | + | |
7592 | 7595 | | |
7593 | 7596 | | |
7594 | 7597 | | |
| |||
8059 | 8062 | | |
8060 | 8063 | | |
8061 | 8064 | | |
8062 | | - | |
| 8065 | + | |
| 8066 | + | |
8063 | 8067 | | |
8064 | 8068 | | |
8065 | 8069 | | |
| |||
0 commit comments