summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Matías Hernández <matiashe@google.com> 2024-02-29 16:01:10 +0100
committer Matías Hernández <matiashe@google.com> 2024-02-29 16:01:10 +0100
commit05b1563db8caa38abf645c236a818c69d288ab70 (patch)
tree75f278c2a2ed47b355b38658e3fe245fac0fb507 /libs/hwui/FrameInfoVisualizer.cpp
parent232835732639055663a03f3cbb789c9945e1f375 (diff)
Don't apply the "dim wallpaper" effect if wallpaper is not supported
On auto, getSystemService(WallpaperManager) returns a non-null but non-working service (DisabledWallpaperManager) that fails on each method call (this seems like a rather unusual pattern). We detect this by calling isWallpaperSupported() and, if false, we won't try to apply the effect. Bug: 327485783 Test: atest DefaultDeviceEffectsApplierTest Change-Id: I1be7c902f4ae63d0b6191d9fcb106691052cbc55
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions