Skip to content

Commit

Permalink
added vendor_kernel_boot to AvailablePartitions
Browse files Browse the repository at this point in the history
  • Loading branch information
capntrips committed Mar 21, 2023
1 parent c834f5f commit 02a2090
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ android {
applicationId "com.github.capntrips.kernelflasher"
minSdk 30
targetSdk 33
versionCode 13
versionName "1.0.0-alpha13"
versionCode 14
versionName "1.0.0-alpha14"

vectorDrawables {
useSupportLibrary true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ object PartitionUtil {
"vbmeta",
"dtbo",
"vendor_boot",
"vendor_kernel_boot",
"vendor_dlkm",
"init_boot",
"recovery"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ data class Partitions(
val vbmeta: String? = null,
val dtbo: String? = null,
val vendor_boot: String? = null,
val vendor_kernel_boot: String? = null,
val vendor_dlkm: String? = null,
val init_boot: String? = null,
val recovery: String? = null
Expand All @@ -19,10 +20,11 @@ data class Partitions(
val vbmeta by map
val dtbo by map
val vendor_boot by map
val vendor_kernel_boot by map
val vendor_dlkm by map
val init_boot by map
val recovery by map
val partitions = Partitions(boot, vbmeta, dtbo, vendor_boot, vendor_dlkm, init_boot, recovery)
val partitions = Partitions(boot, vbmeta, dtbo, vendor_boot, vendor_kernel_boot, vendor_dlkm, init_boot, recovery)
}.partitions
}

Expand All @@ -32,6 +34,7 @@ data class Partitions(
"vbmeta" -> vbmeta
"dtbo" -> dtbo
"vendor_boot" -> vendor_boot
"vendor_kernel_boot" -> vendor_kernel_boot
"vendor_dlkm" -> vendor_dlkm
"init_boot" -> init_boot
"recovery" -> recovery
Expand Down

0 comments on commit 02a2090

Please sign in to comment.