Assigned
Status Update
Comments
ra...@google.com <ra...@google.com> #2
I believe --jobs
to x.py
, so RBE's "more parallelism" benefit doesn't really exist as it stands.
On the other hand, passing --jobs=$(get_makeopts_jobs)
applies that limit to both Rust's and LLVM's builds. cargo -j1000
isn't being a good citizen on machines that are also running make -j$(ncpu)
.
Maybe there's room for a local patch, and/or advocating upstream for --llvm-jobs
, depending on whether reclient
can be made to work with the rustc
invocations here.
Description
Toasts provide an easy way to show errors and information messages in the app. Starting with Android 11, you can no longer customize the appearance of toasts. Instead APIs like snackbars are promoted.
The issue is that they aren't equivalent. Snackbars require a lot more work to implement, and they won't be showed on top of dialog and other windows. This can be especially problematic if you have centralized error handling.
We have worked around this by implementing our own toast using a custom window. It is tricky though because you need the right combination of window flags to ensure it's read by screen readers.
We have no need to show these messages while the app in the background.