Status Update
Comments
am...@google.com <am...@google.com>
am...@google.com <am...@google.com> #2
Oops, can't edit it, but meant:
<style name="MyApp.Divider.Horizontal">
<item name="android:layout_height">1dp</item>
<item name="android:layout_width">match_parent</item>
</style>
my...@gmail.com <my...@gmail.com> #3
am...@google.com <am...@google.com> #4
Thanks for the report.
Having size attributes as part of the style is allowed and should not generate an error. Just to clarify, do you get this error in the editor or when running lint as part of your build?
I've tried in 4.0 RC1 and the project builds and generates no warnings/errors.
If it's part of the build, maybe could you share the build log. If it's happening as part of the editing, could you shared with us the idea.log?
For information on how to obtain the logs, please see
my...@gmail.com <my...@gmail.com> #5
my...@gmail.com <my...@gmail.com> #6
All of our styles are defined in a core_resources
module, and all my errors came from other modules. I can't share a build log. Sorry.
my...@gmail.com <my...@gmail.com> #7
Hey!
I just was able to create a repo to reproduce this. If you run ./gradlew lintDebug
it will fail with the reported error message. Looks like the problem is a feature module accessing styles from a shared design module.
Description
Are you an Android developer?" (Y/N) Y
Which Android Developer Preview build are you using? RPB1.200504.018
Is this a regression from Android 10 to 11? Yes?
What device are you using? (for example, Pixel 3 XL) Pixel 3A XL
What are the steps to reproduce the problem? (Please provide the minimal reproducible test case.)
Verify that there are remembered groups in system Wi-Fi settings; (can be created via startGroup)
Call wifiP2pManager.requestPersistentGroupInfo with a listener, log the groups that are returned.
Issue Category Framework (platform)
What was the expected result?
Returns the correct outcome as in system settings.
Internal system API, do not know if there are documentations but it worked as expected on Android 10.
Callback gets empty list.