Skip to content

Commit

Permalink
Updated ManagedVirtualDevice declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
siarhei-luskanau committed May 8, 2024
1 parent 2566a72 commit 8030f82
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ android {
managedDevices.devices.create<ManagedVirtualDevice>(name) {
device = "Nexus 4"
apiLevel = apiLevelIt
val systemImageConfig: Pair<String?, Boolean?> = when (apiLevelIt) {
34 -> "aosp-atd" to true
else -> null to null
}
systemImageConfig.first?.also { systemImageSource = it }
systemImageConfig.second?.also { require64Bit = it }
}
}
}
Expand Down

0 comments on commit 8030f82

Please sign in to comment.