Commit 4b6d93f
committed
Make invalidateOptionsMenu asynchronous
Process any pending menu invalidations on the animation tick, before
traversals are performed. Collapse multiple menu invalidations
together.
Bug 7189372
Change-Id: I7a33ae9813980eb8fbcc958804de2c03328ecca81 parent 49a22f2 commit 4b6d93f
2 files changed
Lines changed: 33 additions & 0 deletions
File tree
- core/java/android/view
- policy/src/com/android/internal/policy/impl
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
92 | 99 | | |
93 | 100 | | |
94 | 101 | | |
| |||
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
195 | 209 | | |
196 | 210 | | |
197 | 211 | | |
| |||
722 | 736 | | |
723 | 737 | | |
724 | 738 | | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
725 | 748 | | |
726 | 749 | | |
727 | 750 | | |
| |||
2842 | 2865 | | |
2843 | 2866 | | |
2844 | 2867 | | |
| 2868 | + | |
| 2869 | + | |
| 2870 | + | |
2845 | 2871 | | |
2846 | 2872 | | |
2847 | 2873 | | |
| |||
0 commit comments