Repository navigation
Commit 9a3962e
authored
Keep reflective Room database constructors (#1109)
Minified `legacy` and `lollipop` builds can fail to initialize WorkManager during background sync with `InstantiationException` / `NoSuchMethodException`. With **AGP 9.4.1 / R8 9.4.24** strict full-mode keep semantics, Room 2.5.0/2.6.1 consumer rules keep database classes but allow removal of the public no-argument constructor used by reflection, including `WorkDatabase_Impl()`.1 parent d37a000 commit 9a3962e
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments