summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Gen <genli@google.com> 2024-07-29 14:10:20 -0700
committer Gen <genli@google.com> 2024-08-05 17:27:49 -0700
commit28616ea86ffb6424aff52c1a754514bc7e8f39e5 (patch)
treed79fa382856adb0e9a30ebc547c8ed239d725758 /libs/androidfw/AttributeResolution.cpp
parente799f714656407f6e0011f9af7844ac67a6b2d34 (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
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions