followup to test taskbar user attention feature support

This commit is contained in:
Craig Raw 2022-10-24 14:43:53 +02:00
parent f2b0f8ca9e
commit ff340c2449

View file

@ -122,7 +122,7 @@ public class SorobanController {
}
protected void requestUserAttention() {
if(Taskbar.isTaskbarSupported()) {
if(Taskbar.isTaskbarSupported() && Taskbar.getTaskbar().isSupported(Taskbar.Feature.USER_ATTENTION)) {
Taskbar.getTaskbar().requestUserAttention(true, false);
}
}