Commit 0b2fa8c
committed
Don't prematurely delete temporary files
When verification and encryption is used, the temporary file was deleted
prematurely.
Also, on next boot-up, scan the directory we use for temporary files to
clean them up if the user rebooted in the middle of installation.
Bug: 7132197
Change-Id: Ic9e8aab9a664ca00d9ac16f72e53fc43d78d21bc1 parent 3418648 commit 0b2fa8c
File tree
1 file changed
+18
-11
lines changed- services/java/com/android/server/pm
1 file changed
+18
-11
lines changedLines changed: 18 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6334 | 6334 | | |
6335 | 6335 | | |
6336 | 6336 | | |
6337 | | - | |
| 6337 | + | |
| 6338 | + | |
6338 | 6339 | | |
6339 | 6340 | | |
6340 | 6341 | | |
| |||
6515 | 6516 | | |
6516 | 6517 | | |
6517 | 6518 | | |
6518 | | - | |
6519 | 6519 | | |
6520 | | - | |
6521 | | - | |
6522 | | - | |
6523 | | - | |
| 6520 | + | |
| 6521 | + | |
| 6522 | + | |
| 6523 | + | |
| 6524 | + | |
6524 | 6525 | | |
6525 | 6526 | | |
6526 | 6527 | | |
| |||
7942 | 7943 | | |
7943 | 7944 | | |
7944 | 7945 | | |
7945 | | - | |
| 7946 | + | |
7946 | 7947 | | |
7947 | 7948 | | |
7948 | 7949 | | |
7949 | 7950 | | |
7950 | | - | |
7951 | | - | |
| 7951 | + | |
| 7952 | + | |
| 7953 | + | |
| 7954 | + | |
| 7955 | + | |
| 7956 | + | |
| 7957 | + | |
| 7958 | + | |
7952 | 7959 | | |
7953 | 7960 | | |
7954 | | - | |
7955 | | - | |
| 7961 | + | |
| 7962 | + | |
7956 | 7963 | | |
7957 | 7964 | | |
7958 | 7965 | | |
| |||
0 commit comments