File tree Expand file tree Collapse file tree 5 files changed +15
-9
lines changed
src/main/kotlin/com/developerphil/adbidea Expand file tree Collapse file tree 5 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 22
33## [[ Unreleased]]
44
5+ ## [ 1.6.16] - 2024-07-21
6+ - Compatibility with Android Studio Ladybug
7+
58## [ 1.6.15] - 2024-03-17
69- Compatibility with Android Studio Jellyfish
710
202205- Command to clear data
203206- Command to clear data and restart
204207
205- [ Unreleased ] : https://github.com/pbreault/adb-idea/compare/1.6.15...HEAD
206- [ 1.6.14 ] : https://github.com/pbreault/adb-idea/compare/1.6.14...1.6.15
208+ [ Unreleased ] : https://github.com/pbreault/adb-idea/compare/1.6.16...HEAD
209+ [ 1.6.16 ] : https://github.com/pbreault/adb-idea/compare/1.6.15...1.6.16
210+ [ 1.6.15 ] : https://github.com/pbreault/adb-idea/compare/1.6.14...1.6.15
207211[ 1.6.14 ] : https://github.com/pbreault/adb-idea/compare/1.6.13...1.6.14
208212[ 1.6.13 ] : https://github.com/pbreault/adb-idea/compare/1.6.12...1.6.13
209213[ 1.6.12 ] : https://github.com/pbreault/adb-idea/compare/1.6.11...1.6.12
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ tasks.runIde {
6767tasks.register(" printLastChanges" ) {
6868 doLast {
6969 println (recentChanges(outputType = MARKDOWN ))
70+ println (recentChanges(outputType = HTML ))
7071 }
7172}
7273
@@ -95,7 +96,7 @@ fun recentChanges(outputType: Changelog.OutputType): String {
9596 .take(5 ) // last 5 changes
9697 .forEach { (key, _) ->
9798 s + = changelog.renderItem(
98- changelog.get(key).withHeader(false ).withEmptySections(false ), outputType
99+ changelog.get(key).withHeader(true ).withEmptySections(false ), outputType
99100 )
100101 }
101102
Original file line number Diff line number Diff line change 11# Android Studio Version
22# Get it from `list-studio-versions.sh`
3- ideVersion =2023. 3.1.13
3+ ideVersion =2024.1. 3.1
44
55# Minimum Intellij PLatform version supported by this plugin
66# see https://plugins.jetbrains.com/docs/intellij/android-studio-releases-list.html
7- sinceBuild =233.13135
7+ sinceBuild =241.18034
88
99# The path to a local Android Studio installation. Note that this will override the ideVersion
1010# Should provide this either as a command line argument or in your home gradle.properties
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ package com.developerphil.adbidea.adb
33import com.android.ddmlib.IDevice
44import com.android.tools.idea.insights.isAndroidApp
55import com.android.tools.idea.model.AndroidModel
6+ import com.android.tools.idea.projectsystem.isHolderModule
67import com.android.tools.idea.util.androidFacet
78import com.developerphil.adbidea.adb.DeviceResult.DeviceNotFound
89import com.developerphil.adbidea.adb.DeviceResult.SuccessfulDeviceResult
@@ -52,8 +53,8 @@ class DeviceResultFetcher constructor(
5253
5354 private fun getFacet (facets : List <AndroidFacet >): AndroidFacet ? {
5455 val appFacets = facets
55- .filter { it.holderModule .isAndroidApp }
56- .mapNotNull { it.holderModule .androidFacet }
56+ .filter { it.module .isAndroidApp && it.module.isHolderModule() }
57+ .mapNotNull { it.module .androidFacet }
5758 .distinct()
5859
5960 return if (appFacets.size > 1 ) {
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import com.android.sdklib.IAndroidTarget
2323import com.android.tools.idea.model.AndroidModel
2424import com.android.tools.idea.model.StudioAndroidModuleInfo
2525import com.android.tools.idea.run.AndroidDevice
26- import com.android.tools.idea.run.ConnectedAndroidDevice
26+ import com.android.tools.idea.run.FakeAndroidDevice
2727import com.android.tools.idea.run.LaunchCompatibility
2828import com.android.tools.idea.run.LaunchCompatibility.State
2929import com.google.common.util.concurrent.ListenableFuture
@@ -294,7 +294,7 @@ class MyDeviceChooser(
294294 SERIAL_COLUMN_INDEX -> return device.serialNumber
295295 DEVICE_STATE_COLUMN_INDEX -> return getDeviceState(device)
296296 COMPATIBILITY_COLUMN_INDEX -> {
297- val connectedDevice: AndroidDevice = ConnectedAndroidDevice (device)
297+ val connectedDevice: AndroidDevice = FakeAndroidDevice (device)
298298 return try {
299299 if (myMinSdkVersion.isDone) connectedDevice.canRun(
300300 myMinSdkVersion.get(),
You can’t perform that action at this time.
0 commit comments