Commit 6e8db88
committed
Fix race condition in status bar init code.
There was a hole between the initial call to get the display
metrics and the attachment of the status bar to its window,
meaning there was an opportunity for the orientation to
change without the status bar's orientation change handler
being called. In this scenario the notification panel would
be sized for the wrong orientation until the configuration
changed again in some way.
Bug: 5509445
Change-Id: Ib1bff79c317945a61ccfccddc073cce015f34caa1 parent 6e03b22 commit 6e8db88
File tree
1 file changed
+7
-7
lines changed- packages/SystemUI/src/com/android/systemui/statusbar/phone
1 file changed
+7
-7
lines changedLines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
| 255 | + | |
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
| 273 | + | |
279 | 274 | | |
280 | 275 | | |
281 | 276 | | |
| |||
1793 | 1788 | | |
1794 | 1789 | | |
1795 | 1790 | | |
| 1791 | + | |
| 1792 | + | |
| 1793 | + | |
| 1794 | + | |
| 1795 | + | |
1796 | 1796 | | |
1797 | 1797 | | |
1798 | 1798 | | |
| |||
0 commit comments