Use BOARD_SUPER_PARTITION_PARTITION_LIST for dynamic list
Simplifies code for retrieving this list rather than using
every possible specified super partition group
Change-Id: I1a3bd8e4b73ce18a176c74a52eb91d25709080f4
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index e71f33c..a4652c6 100755
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -3393,8 +3393,8 @@
superPartition->Mount_Point = "/super";
superPartition->Actual_Block_Device = superPart;
superPartition->Alternate_Block_Device = superPart;
-#ifdef BOARD_DYNAMIC_PARTITIONS_PARTITION_LIST
- superPartition->Backup_Display_Name = "Super (" BOARD_DYNAMIC_PARTITIONS_PARTITION_LIST ")";
+#ifdef BOARD_SUPER_PARTITION_PARTITION_LIST
+ superPartition->Backup_Display_Name = "Super (" BOARD_SUPER_PARTITION_PARTITION_LIST ")";
#else
superPartition->Backup_Display_Name = "Super";
#endif