Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support overriding Icon loading executor from Icon#loadDrawableAsync. #6828

Merged
merged 1 commit into from Nov 17, 2021

Commits on Nov 17, 2021

  1. Support overriding Icon loading executor from Icon#loadDrawableAsync.

    Icon#loadDrawableAsync is loading icon on AsyncTask#THREAD_POOL_EXECUTOR, that test has no way to control the execution. This patch adds a dedicated executor overriding as ShadowIcon#overrideExecutor to let test control where the async icon loading will happen.
    
    PiperOrigin-RevId: 407821420
    Googler authored and hoisie committed Nov 17, 2021
    Copy the full SHA
    6beade5 View commit details
    Browse the repository at this point in the history