Status Update
Comments
ls...@google.com <ls...@google.com>
lu...@google.com <lu...@google.com>
lu...@google.com <lu...@google.com>
an...@google.com <an...@google.com>
an...@google.com <an...@google.com>
an...@google.com <an...@google.com> #2
I've submitted a fix that will be available in an upcoming canary build of Android Studio.
<intent>
is allowed as a child of <PreferenceScreen>
, so I've left it in place. (This is implied by Preference
, and PreferenceScreen
extends Preference
. Empirically I've verified that an intent specified in such a way is available at runtime via PreferenceScreen.getIntent()
.)
<extra>
should only be allowed as a child of <intent>
, and I've made that change. <category>
is also allowed as a child of <intent>
but was missing, so it has been added. A few other missing attributes have been corrected as well.
lb...@gmail.com <lb...@gmail.com> #3
@2 Define "upcoming". Which version exactly?
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 Ladybug | 2024.1.3 Canary 1
- Android Gradle Plugin 8.7.0-alpha01
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!
Description
1. Create a new settings-activity project.
2. Go to the preferences XML file.
3. Create a new tag by writing "<" and see what is being offered.
The bug is that there are "intent" and "extra" there...
Not only that, but when you create "extra" and fill the attributes, it still complains they are missing.
------------------
Studio Build:
Version of Gradle Plugin:
Version of Gradle:
Version of Java:
OS:
Android Studio Bumblebee | 2021.1.1
Build #AI-211.7628.21.2111.8092744, built on January 19, 2022
Runtime version: 11.0.11+9-b60-7590822 amd64
VM: OpenJDK 64-Bit Server VM by Oracle Corporation
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 4000M
Cores: 12
Registry: external.system.auto.import.disabled=true, ide.settings.move.mouse.on.default.button=true, debugger.watches.in.variables=false
Non-Bundled Plugins: Show As ... (1.0.3), com.dubreuia (2.2.0), com.intellij.marketplace (211.7628.36), String Manipulation (8.25.203.5981.1), org.jetbrains.kotlin (211-1.6.10-release-923-AS7442.40), com.google.mad-scorecard (1.2), org.intellij.plugins.markdown (211.7142.37)