| commit | be55d969ff4fd0141433fd83c485b8c71e5bcaa8 | [log] [tgz] |
|---|---|---|
| author | Charlie Anderson <charlander@google.com> | Wed Dec 11 22:11:09 2024 +0000 |
| committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Dec 18 06:47:54 2024 -0800 |
| tree | 519f8b0a97c52dc570f8ed3be76195d7d1539a64 | |
| parent | 12ef2f512341cf697ad01a6796fff7150bad83b3 [diff] |
Prevent bad grid configuration by making sure RestoreDbTask updates IDP correctly. IPD#reset() was resetting the internal IDP dbFile to the factory default instead of current grid/db This lead to LoaderTask and grid migration creating an empty DB for the wrong grid size, while the restored DB remained unused. Leading to an empty home screen because an empty DB file was used. Bug: 377510898 Flag: EXEMPT bugfix Test: manually testing backup & restore with various grid sizes (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3eec1895edab17b713e8148dcfe763083e99c185) Merged-In: I709201e484afb8f12a4fde21198d2c5793d89ca1 Change-Id: I709201e484afb8f12a4fde21198d2c5793d89ca1