diff options
author | Paul Crowley <paulcrowley@google.com> | 2019-08-28 19:56:15 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-08-28 19:56:15 +0000 |
commit | 7882d9237302368b438da4be2148d5ef0d14e698 (patch) | |
tree | 3cf01c5944e4482a1ac6c95900666aa870cf666b | |
parent | 349b0eb838fb3b07536cd0ceb188b6931a0c6e03 (diff) | |
parent | 3dfd55fa6b636f412ef658470c842a4be6e54223 (diff) | |
download | native-7882d9237302368b438da4be2148d5ef0d14e698.tar.gz |
Merge "Move layout_version to /data/misc/installd"
-rw-r--r-- | cmds/installd/installd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/installd/installd.cpp b/cmds/installd/installd.cpp index 673ff0d513..b5bc28c1d3 100644 --- a/cmds/installd/installd.cpp +++ b/cmds/installd/installd.cpp @@ -74,7 +74,7 @@ static int initialize_directories() { // Read current filesystem layout version to handle upgrade paths char version_path[PATH_MAX]; - snprintf(version_path, PATH_MAX, "%s.layout_version", android_data_dir.c_str()); + snprintf(version_path, PATH_MAX, "%smisc/installd/layout_version", android_data_dir.c_str()); int oldVersion; if (fs_read_atomic_int(version_path, &oldVersion) == -1) { |