Status Update
Comments
ju...@google.com <ju...@google.com>
vi...@google.com <vi...@google.com>
tn...@google.com <tn...@google.com>
tn...@google.com <tn...@google.com> #2
Actually, the detector implementation was just wrong (it's my fault; I added the annotation and the analysis and I had the logic reversed). This annotation hasn't really been adopted much yet, I only found one occurrence in androidx which is why I guess this was undiscovered so long. Anyway, I've just fixed it with
lb...@gmail.com <lb...@gmail.com> #3
I thought that maybe the annotation triggers the inspection this way on purpose, to tell "There is something new which you should use in addition to what you use now, so mark the old code to ignore deprecation and also use the new one".
Wouldn't this be useful too? Or it's used somewhere anyway, yet with a different annotation?
an...@google.com <an...@google.com> #4
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Jellyfish | 2023.3.1 Canary 5
- Android Gradle Plugin 8.4.0-alpha05
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
lb...@gmail.com <lb...@gmail.com> #5
@4 Seems to be as I expected now.
Description
@DeprecatedSinceApi(VERSION_CODES.O_MR1,"some message")
You call this function in code, and this app is intended to be used from before this API.
The IDE marks it as deprecated, even though it says that it :
"Denotes that this API is only useful until the given API level; after that, a more suitable platform API is available."
Thing is, as this function is used for before this API level, it means that I can't just leave it completely.
Please offer an alternative annotation that just marks it as deprecated only if the API the app supports is larger than what's used there.
------------------
Studio Build:
Version of Gradle Plugin:
Version of Gradle:
Version of Java:
OS:
Android Studio Hedgehog | 2023.1.1
Build #AI-231.9392.1.2311.11076708, built on November 9, 2023
Runtime version: 17.0.7+0-b2043.56-10550314 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 4086M
Cores: 12
Registry:
external.system.auto.import.disabled=true
debugger.watches.in.variables=false
ide.text.editor.with.preview.show.floating.toolbar=false
Non-Bundled Plugins:
com.github.drjacky.avocado (3.2.2)
Show As ... (1.1.1)
cn.jxzhang.plugin.json-formatter (1.4)
com.intellij.marketplace (231.9392.3)
String Manipulation (9.12.0)
GenerateSerialVersionUID (3.0.3)
idea.plugin.protoeditor (231.9225.5)
com.steve.plugins.autoscroll (1.1)
com.dethlex.numberconverter (2.0.0)
izhangzhihao.rainbow.brackets (2023.3.7)
com.ppismerov.ksvu (0.0.1)
net.aquadc.mike.plugin (0.31)
com.developerphil.adbidea (1.6.11)
GenerateSerializationHelpers (1.0.6)