Status Update
Comments
be...@google.com <be...@google.com> #2
I am not sure I understand the use case. how can the benchmark be code to real world scenario when it's not possible to do right now ? which scenario is it ?
In any case, since this would be for benchmarking, this would clearly not be available through the public DSL. We should find a semi-private way of doing this (maybe the private variant API object could offer that functionality for instance or a property).
ta...@gmail.com <ta...@gmail.com> #3
We want benchmarks to measure code after Progaurd / R8, but it's not possible to turn that on for androidTests in library modules at the moment (to my knowledge?)
Benchmarks are also a public facing thing, but we have a plugin to help configure gradle builds for our users, so if support for this ends up in a private API, we could try to keep those usages localized to our code perhaps.
sa...@google.com <sa...@google.com>
sa...@google.com <sa...@google.com>
is...@google.com <is...@google.com>
du...@google.com <du...@google.com>
an...@google.com <an...@google.com> #4
Any update on the status of this request and when it can be supported?
Thanks,
Amanda
Description
all required information.
Studio Build: 3.0 beta 7
Version of Gradle Plugin: 3.0.0-beta7
Version of Gradle: 4.1
Version of Java: 1.7
OS: mac
Steps to Reproduce:
1. Create a new Android Auto Messaging Service from the template
File -> New -> Android Auto -> Messaging Service
2. In MessagingService.java/kt, it uses the deprecated constructor of NotificationCompat.Builder. [NotificationCompat.Builder(getApplicationContext())]
Update the template to create a channel if the buildApi is greater than or equal to 26.