| commit | 28616ea86ffb6424aff52c1a754514bc7e8f39e5 | [log] [tgz] |
|---|---|---|
| author | Gen <genli@google.com> | Mon Jul 29 14:10:20 2024 -0700 |
| committer | Gen <genli@google.com> | Mon Aug 05 17:27:49 2024 -0700 |
| tree | d79fa382856adb0e9a30ebc547c8ed239d725758 | |
| parent | e799f714656407f6e0011f9af7844ac67a6b2d34 [diff] |
Check for wallpaper support before using APIs Wallpaper support is not guaranteed and use of WallpaperManager's APIs need to be guarded behind a WallpaperManager#isWallpaperSupported check to avoid system service exceptions. Bug: 355307617 Test: SysUI no longer crashing due to inappropriate access of disabled wallpaper APIs. When wallpaper support is disabled. Flag: EXEMPT bugfix Change-Id: I8fe43c16ff8ece6565951eb423c13e6e4eece1d3