From 6355b56c931aab444f90f38e5d9ebfdf965ae75f Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Mon, 1 May 2017 09:42:17 -0500 Subject: Adopted Storage: backup keys but do not wipe them Change-Id: I545a32848ee686ecfacd13604ae3f18f5d206dfc --- partition.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/partition.cpp b/partition.cpp index f523ddf85..ac0c19950 100644 --- a/partition.cpp +++ b/partition.cpp @@ -911,7 +911,7 @@ void TWPartition::Setup_Data_Media() { DataManager::SetValue("tw_has_internal", 1); DataManager::SetValue("tw_has_data_media", 1); backup_exclusions.add_absolute_dir("/data/data/com.google.android.music/files"); - ExcludeAll(Mount_Point + "/misc/vold"); + wipe_exclusions.add_absolute_dir(Mount_Point + "/misc/vold"); // adopted storage keys ExcludeAll(Mount_Point + "/.layout_version"); ExcludeAll(Mount_Point + "/system/storage.xml"); } else { -- cgit v1.2.3