Commit 161abf3
committed
Fix a bug with deferred position scrolling in lists while data changes
are pending
Save the pending position scroll until the data change is actually
serviced before posting it to run. This avoids handler loops on
GONE subtrees or when the view is detached.
Bug 6547649
Change-Id: Iab108cfcb7dd11ece703762d311a5f5985f38c3b1 parent 101fb9f commit 161abf3
File tree
3 files changed
+16
-6
lines changed- core/java/android/widget
3 files changed
+16
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
| 582 | + | |
582 | 583 | | |
583 | 584 | | |
584 | 585 | | |
| |||
1910 | 1911 | | |
1911 | 1912 | | |
1912 | 1913 | | |
| 1914 | + | |
1913 | 1915 | | |
1914 | 1916 | | |
1915 | 1917 | | |
| |||
4248 | 4250 | | |
4249 | 4251 | | |
4250 | 4252 | | |
4251 | | - | |
| 4253 | + | |
4252 | 4254 | | |
4253 | 4255 | | |
4254 | 4256 | | |
4255 | | - | |
| 4257 | + | |
4256 | 4258 | | |
4257 | 4259 | | |
4258 | 4260 | | |
| |||
4299 | 4301 | | |
4300 | 4302 | | |
4301 | 4303 | | |
4302 | | - | |
| 4304 | + | |
4303 | 4305 | | |
4304 | 4306 | | |
4305 | 4307 | | |
4306 | | - | |
| 4308 | + | |
4307 | 4309 | | |
4308 | 4310 | | |
4309 | 4311 | | |
| |||
4376 | 4378 | | |
4377 | 4379 | | |
4378 | 4380 | | |
4379 | | - | |
| 4381 | + | |
4380 | 4382 | | |
4381 | 4383 | | |
4382 | 4384 | | |
4383 | | - | |
| 4385 | + | |
4384 | 4386 | | |
4385 | 4387 | | |
4386 | 4388 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1275 | 1275 | | |
1276 | 1276 | | |
1277 | 1277 | | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
1278 | 1282 | | |
1279 | 1283 | | |
1280 | 1284 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1691 | 1691 | | |
1692 | 1692 | | |
1693 | 1693 | | |
| 1694 | + | |
| 1695 | + | |
| 1696 | + | |
| 1697 | + | |
1694 | 1698 | | |
1695 | 1699 | | |
1696 | 1700 | | |
| |||
0 commit comments