diff options
author | Dees_Troy <dees_troy@teamw.in> | 2012-09-21 20:27:30 +0200 |
---|---|---|
committer | Dees_Troy <dees_troy@teamw.in> | 2012-09-21 20:27:30 +0200 |
commit | ab10ee20988390c80ba68e84608d215fd5ea3a87 (patch) | |
tree | b493ca6973bb4eb84531ba082141bcc3e7565e31 /data.cpp | |
parent | Add android_secure support (diff) | |
download | android_bootable_recovery-ab10ee20988390c80ba68e84608d215fd5ea3a87.tar android_bootable_recovery-ab10ee20988390c80ba68e84608d215fd5ea3a87.tar.gz android_bootable_recovery-ab10ee20988390c80ba68e84608d215fd5ea3a87.tar.bz2 android_bootable_recovery-ab10ee20988390c80ba68e84608d215fd5ea3a87.tar.lz android_bootable_recovery-ab10ee20988390c80ba68e84608d215fd5ea3a87.tar.xz android_bootable_recovery-ab10ee20988390c80ba68e84608d215fd5ea3a87.tar.zst android_bootable_recovery-ab10ee20988390c80ba68e84608d215fd5ea3a87.zip |
Diffstat (limited to '')
-rw-r--r-- | data.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -605,6 +605,15 @@ void DataManager::SetDefaultValues() str += dev_id; SetValue(TW_BACKUPS_FOLDER_VAR, str, 0); +#ifdef SP1_NAME + if (strlen(EXPAND(SP1_NAME))) mConstValues.insert(make_pair(TW_SP1_PARTITION_NAME_VAR, EXPAND(SP1_NAME))); +#endif +#ifdef SP2_NAME + if (strlen(EXPAND(SP2_NAME))) mConstValues.insert(make_pair(TW_SP1_PARTITION_NAME_VAR, EXPAND(SP2_NAME))); +#endif +#ifdef SP3_NAME + if (strlen(EXPAND(SP3_NAME))) mConstValues.insert(make_pair(TW_SP1_PARTITION_NAME_VAR, EXPAND(SP3_NAME))); +#endif #ifdef SP1_DISPLAY_NAME if (strlen(EXPAND(SP1_DISPLAY_NAME))) mConstValues.insert(make_pair(TW_SP1_PARTITION_NAME_VAR, EXPAND(SP1_DISPLAY_NAME))); #endif |