commit | db4dce333d4405000cc04002dd5d03bf6395bc7f | [log] [tgz] |
---|---|---|
author | wilsonshih <wilsonshih@google.com> | Tue Sep 14 15:21:37 2021 +0800 |
committer | wilsonshih <wilsonshih@google.com> | Tue Sep 14 15:21:37 2021 +0800 |
tree | adf1cd52d93568f0b2e552f7a2d99aacf3a56fc5 | |
parent | bdb91bf0d67b38def2f771e0e1b00ac934e54ee4 [diff] |
Prevent WallpaperManager#getBitmap return recycled bitmap. The returned bitmap object could be recycled from client, check isRecycled and re-create a new bitmap object if needed. Bug: 176573309 Test: atest WallpaperManagerTests Change-Id: I71d99d21836b73c93979685f3f7a6f49ba0df3e4