Commit 5422685
Ensure packages on adopted media do not move when updated
Packages not installed with PackageInstaller.Session that
are moved to adopted storage via android storage settings
will get moved back to private internal storage when the
package is later updated. This causes the app to lose
it's data (and leaves the data dir dangling on the original
adopted location).
play market installs do not have this problem (because
they use an installer session) but pretty much every other
app install route does. eg adb install and other app stores.
Change-Id: I0f606b230460f32310921c75e58ccb5b610268e41 parent d119bd8 commit 5422685
1 file changed
Lines changed: 31 additions & 1 deletion
Lines changed: 31 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11505 | 11505 | | |
11506 | 11506 | | |
11507 | 11507 | | |
11508 | | - | |
| 11508 | + | |
11509 | 11509 | | |
11510 | 11510 | | |
11511 | 11511 | | |
| |||
11710 | 11710 | | |
11711 | 11711 | | |
11712 | 11712 | | |
| 11713 | + | |
| 11714 | + | |
| 11715 | + | |
| 11716 | + | |
| 11717 | + | |
| 11718 | + | |
| 11719 | + | |
| 11720 | + | |
| 11721 | + | |
| 11722 | + | |
| 11723 | + | |
| 11724 | + | |
| 11725 | + | |
| 11726 | + | |
| 11727 | + | |
| 11728 | + | |
| 11729 | + | |
| 11730 | + | |
| 11731 | + | |
| 11732 | + | |
| 11733 | + | |
| 11734 | + | |
11713 | 11735 | | |
11714 | 11736 | | |
11715 | 11737 | | |
| |||
13661 | 13683 | | |
13662 | 13684 | | |
13663 | 13685 | | |
| 13686 | + | |
| 13687 | + | |
| 13688 | + | |
| 13689 | + | |
| 13690 | + | |
| 13691 | + | |
| 13692 | + | |
| 13693 | + | |
13664 | 13694 | | |
13665 | 13695 | | |
13666 | 13696 | | |
| |||
0 commit comments