Repository navigation
Commit bc5f563
Drop Drawee from Android background image loading
Summary:
The `url()` background image loader used Drawee only to reach the image pipeline and to defer releasing a bitmap. It now gets the same pipeline from `ImagePipelineFactory`, and releases the bitmap on the next main-thread turn, which is what the Drawee releaser does on the UI thread. Background images now depend on the image pipeline alone.
Changelog: [Internal]
Differential Revision: D1351529791 parent 80c03ca commit bc5f563
1 file changed
Lines changed: 7 additions & 6 deletions
File tree
- packages/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/drawable
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | 18 | | |
21 | 19 | | |
| 20 | + | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
127 | 130 | | |
128 | 131 | | |
129 | 132 | | |
| |||
188 | 191 | | |
189 | 192 | | |
190 | 193 | | |
191 | | - | |
192 | | - | |
193 | | - | |
| 194 | + | |
194 | 195 | | |
195 | 196 | | |
196 | 197 | | |
0 commit comments