Status Update
Comments
to...@google.com <to...@google.com>
pa...@google.com <pa...@google.com>
tn...@google.com <tn...@google.com>
tn...@google.com <tn...@google.com> #2
I don't think the average developer understands the distinction between method references and method definitions in this context (inside a DEX file). I know I don't.
@jvg, can you elaborate?
an...@google.com <an...@google.com> #3
people who are looking at the bytecode in the dex to optimize their app through shrinking hopefully will learn the difference as string tables for method references between various dex files can account for quite a bit of disk space. but more importantly a definition is something you can analyze its code for where a reference you can't so the UI can be confusing without seeing the difference
tn...@google.com <tn...@google.com> #4
How about something like this?
I think having defined members be directly under the class node while references are nested in a group makes more sense.
Also note that the method refs have a
an...@google.com <an...@google.com> #5
sounds reasonable to me, thanks
an...@google.com <an...@google.com> #6
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 Feature Drop | 2024.2.2 Canary 4
- Android Gradle Plugin 8.8.0-alpha04
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
AGP: 8.7.1
In Android 13, apps are required to request the `SCHEDULE_EXACT_ALARM` permission to use exact alarms. Users can grant this permission to apps that declare `<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />` in their Manifest. However, declaring this permission in the Manifest triggers the following lint warning: `Permission is only granted to system apps.` This warning seems to be outdated, as not declaring the permission in the manifest makes it impossible for users to grant this permission to the app.