Infeasible
Status Update
Comments
cm...@google.com <cm...@google.com>
je...@google.com <je...@google.com>
ga...@google.com <ga...@google.com> #2
We have passed this to the development team and will update this issue with more information as it becomes available.
mc...@ebay.com <mc...@ebay.com> #3
This also affects payment apps that start activity from HCE service when user taps the phone on NFC terminal, like our company's Wave2Pay or even your own Google Pay.
ga...@google.com <ga...@google.com> #4
Please don't harm automation apps, at least allow foreground services : this is affect a lot of app (include mine, Tasker, MacroDroid, ...)
You take down SMS & Call Log permissions, now you take down all entire automation apps.
This will ruin a lot of apps, and developers life...
Please reconsider your decision or propose an alternative !
You take down SMS & Call Log permissions, now you take down all entire automation apps.
This will ruin a lot of apps, and developers life...
Please reconsider your decision or propose an alternative !
mc...@ebay.com <mc...@ebay.com> #5
This affects my accessibility app (Digilux) that lets users launch activities from the accessibility button provided in Android O.
Description
Context:
We have a very large Android project with many project modules, many of which are independent of each other until integration at the application module level. We also have build/developer machines which vary widely in terms of system specs/capabilities. It has become difficult for us to scale the build. The most significant system resource from the perspective of build success/failure has tended to be memory, as running out of other resources tend to only slow the build (disk space not withstanding) whereas running out of memory crashes the build.
Our current approach is predicated upon knowing the concrete task types defined by AGP. Given AGP's roadmap to hide implementation details in favor of moving to an API artifact, this means that our ability to successfully implement our current solution will be reduced/removed.
Request:
Add an optional mechanism into AGP to allow memory-intensive tasks to have limited concurrency within a parallel build execution. The concurrency should be able to be determined by the project or command line invocation such that more powerful machines can more fully take advantage of their expanded system resources, whereas weaker machines can constrain the build more.
Our current approach:
We have authored build plugins that perform simple system probes and bucket the systems into simple categories of
CONSTRAINED
,NORMAL
, andUNCONSTRAINED
. The definition of this part is very project specific. For us, this currently is defined by something like:This is then used in conjunction with a build service which is being used as a simple semaphore:
This build service is then associated with the most intensive tasks by type:
This lets the cheap tasks continue in mass parallel execution - something that cannot be achieved by simply reducing worker count - whilst moderately serializing the expensive tasks, increasing the success rate of our build on lower end hardware for our builds.