commit | b22d4b1035036d4b4275bac4095490a8f2693cbc | [log] [tgz] |
---|---|---|
author | Aurélien Pomini <pomini@google.com> | Tue Jan 23 12:19:17 2024 +0000 |
committer | Aurélien Pomini <pomini@google.com> | Tue Jan 23 12:23:25 2024 +0000 |
tree | 2dd4f61cc11836d031fe2abcab3817dc326b3a82 | |
parent | f227a2bce9c8728518bf8b49ea61fdab253d1ec3 [diff] |
Fix WallpaperCropper key error. Fix an error introduced when trying to replace Map<Int, Rect> with SparseArray<Rect>. It's clearly wrong to iterate over a SparseArray with a "for" loop, then use the "i" index on another SparseArray. Flag: ACONFIG com.android.window.flags.multi_crop DEVELOPMENT Bug: 270726737 Test: there was a clear issue in some cases, manually debugged it Change-Id: I3d78a8c958a05b5b2f55eb30d1d1bf4972c2170b