Commit f8842ae
base: fix pm cache directory invalidate on new builds
This was before in PackageManagerService.jave like
final String cacheName = FORCE_PACKAGE_PARSED_CACHE_ENABLED ? "debug"
: SystemProperties.digestOf(ro.build.date.utc);
Now they switched to PackagePartitions.FINGERPRINT which broke
the invalidate of the cache for new builds
also add a missed usage of changed fingerprint in StorageEventHelper.java
Change-Id: I6cca07659a8e7a4f99ed58761dc727e0e5e20ef81 parent 52c2116 commit f8842ae
2 files changed
Lines changed: 7 additions & 7 deletions
File tree
- services/core/java/com/android/server/pm
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1321 | 1321 | | |
1322 | 1322 | | |
1323 | 1323 | | |
1324 | | - | |
| 1324 | + | |
1325 | 1325 | | |
1326 | 1326 | | |
1327 | 1327 | | |
| |||
1350 | 1350 | | |
1351 | 1351 | | |
1352 | 1352 | | |
1353 | | - | |
1354 | | - | |
1355 | | - | |
| 1353 | + | |
1356 | 1354 | | |
1357 | 1355 | | |
1358 | 1356 | | |
1359 | 1357 | | |
1360 | 1358 | | |
1361 | 1359 | | |
1362 | 1360 | | |
| 1361 | + | |
1363 | 1362 | | |
1364 | 1363 | | |
1365 | 1364 | | |
| |||
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
169 | | - | |
| 170 | + | |
170 | 171 | | |
171 | 172 | | |
172 | 173 | | |
| |||
204 | 205 | | |
205 | 206 | | |
206 | 207 | | |
207 | | - | |
| 208 | + | |
208 | 209 | | |
209 | 210 | | |
210 | | - | |
| 211 | + | |
211 | 212 | | |
212 | 213 | | |
213 | 214 | | |
| |||
0 commit comments