From ec0fa4ad68fdab9b83c585bf4ea311fc1310e0ea Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Thu, 20 Nov 2014 09:51:03 -0600 Subject: Properly set tw_settings_path after decrypt on data media devices When tw_settings_path is not set correctly for /data/media/0 when present, custom themes will not load (and who knows what else may also be broken) so set it properly after decrypting the device. Change-Id: Id3dff04f62cf9c953c8a2ca07fe9ac597dcda20f --- partitionmanager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/partitionmanager.cpp b/partitionmanager.cpp index d363fbfc6..c3b10ac58 100644 --- a/partitionmanager.cpp +++ b/partitionmanager.cpp @@ -1462,6 +1462,7 @@ int TWPartitionManager::Decrypt_Device(string Password) { dat->Storage_Path = "/data/media/0"; dat->Symlink_Path = dat->Storage_Path; DataManager::SetValue("tw_storage_path", "/data/media/0"); + DataManager::SetValue("tw_settings_path", "/data/media/0"); dat->UnMount(false); Output_Partition(dat); } -- cgit v1.2.3