catch CrossWindowBlurListeners.getInstance() no method not found

This commit is contained in:
MrSluffy committed 2024-12-02 08:33:39 +08:00
1 parent 0b22694aa9
commit a0ff30bf2a
3 files changed
+20 -12

No files matched your search

@@ -2203,8 +2203,12 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
private static class LaunchDepthController extends DepthController {
LaunchDepthController(QuickstepLauncher launcher) {
super(launcher);
setCrossWindowBlursEnabled(
CrossWindowBlurListeners.getInstance().isCrossWindowBlurEnabled());
try {
setCrossWindowBlursEnabled(
CrossWindowBlurListeners.getInstance().isCrossWindowBlurEnabled());
} catch (Throwable t) {
// ignore
}
// Make sure that the starting value matches the current depth set by the main
// controller.
stateDepth.setValue(launcher.getDepthController().stateDepth.getValue());