materialistic icon indicating copy to clipboard operation
materialistic copied to clipboard

Performance improvement suggestion

Open cataloque opened this issue 4 years ago • 0 comments

Dear developers, I am analyzing materialistic using static analysis. I found some potential slow operations of bitmap displaying inmaterialistic: "BitmapFactory.decodeResource" method was used in create Bitmap ,then it was invoked by method of .setLargeIcon();but Android documentation says" The BitmapFactory.decode* methods should not be executed on the main UI thread if the source data is read from disk or a network location (or really any source other than memory)." for performance considerations, it is better to move these operations to worker threads (e.g., via AsyncTask). thanks.

cataloque avatar Feb 27 '20 08:02 cataloque