diff options
| author | 2023-10-30 11:37:29 +0800 | |
|---|---|---|
| committer | 2023-12-03 10:32:15 +0000 | |
| commit | 10c692d9720cf1b10e42b684df933ecc8f8ab727 (patch) | |
| tree | 192604f8f053ae47dd84633f6dc40436ba59160b /libs/hwui/HardwareBitmapUploader.cpp | |
| parent | e099bdfe68f0062988e8678a78fcaf02f97e61a0 (diff) | |
Improve QrCodeGenerator.encodeQrCode performance
Call Bitmap.setPixels() once instead of setPixel() multiple times.
Bug: 304560734
Test: manual - on "About phone" page
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f8d17833044de41ea37547758b79a41f6fcf5370)
Merged-In: I6e1be2e394764c3bb19db23f18070f71b80c31e7
Change-Id: I6e1be2e394764c3bb19db23f18070f71b80c31e7
Diffstat (limited to 'libs/hwui/HardwareBitmapUploader.cpp')
0 files changed, 0 insertions, 0 deletions