Fixed
Status Update
Comments
hu...@google.com <hu...@google.com> #2
I wonder if we can get the stack trace using Thread.getAllStackTraces()[Thread.currentThread()] and show that to users together with the current warning instead of asking them to enable the debug flag.
To be less overwhelming, the stack trace can be first collapsed behind a link where the user can then click and see the details.
To be less overwhelming, the stack trace can be first collapsed behind a link where the user can then click and see the details.
xa...@google.com <xa...@google.com> #3
We could. We can't really collapse in the command line though. We'd have to store it in tmp file and just display a path to the file.
xa...@google.com <xa...@google.com> #4
well I guess the issue of the file is that we don't want to do IO during configuration.
hu...@google.com <hu...@google.com> #5
I see, so it doesn't work on the command line, I'm not sure if it's still worth it to try in the IDE.
Description
We have a boolean option to make it an error which will throw an exception. The stacktrace then allows to figure out where it's coming from. We need to document it.
For reference, the option is android.debug.obsoleteApi
We should also document this on d.a.c as well.