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
This commit is contained in:
Ethan Yonker
2014-11-20 09:51:03 -06:00
parent c8f58997e2
commit ec0fa4ad68

View File

@@ -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);
}