From efaf6ea81262bac0c2f9c7811e47778d3375892f Mon Sep 17 00:00:00 2001 From: Tajti Bendi Date: Tue, 17 Oct 2023 16:30:52 +0900 Subject: [PATCH] fix ArrayIndexOutOfBoundsException crash --- .../main/java/com/farmerbb/taskbar/ui/TaskbarController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/farmerbb/taskbar/ui/TaskbarController.java b/app/src/main/java/com/farmerbb/taskbar/ui/TaskbarController.java index 83ee1e8a..7b73e272 100644 --- a/app/src/main/java/com/farmerbb/taskbar/ui/TaskbarController.java +++ b/app/src/main/java/com/farmerbb/taskbar/ui/TaskbarController.java @@ -896,7 +896,7 @@ private void updateRecentApps(final boolean firstRefresh) { try { entries.remove(entries.size() - 1); launcherAppCache.remove(launcherAppCache.size() - 1); - } catch (ArrayIndexOutOfBoundsException ignored) {} + } catch (IndexOutOfBoundsException ignored) {} } // Determine if we need to reverse the order again