From 15108c398fa64d024ac52bb057a6b57a7fc75e32 Mon Sep 17 00:00:00 2001 From: Yash Garg Date: Thu, 11 May 2023 07:48:08 +0000 Subject: [PATCH] chore: lower down log levels to WARN --- .../features/shortcuts/DeepShortcutManager.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/foundation/e/blisslauncher/features/shortcuts/DeepShortcutManager.java b/app/src/main/java/foundation/e/blisslauncher/features/shortcuts/DeepShortcutManager.java index a1fa481ec3..217ddf4275 100644 --- a/app/src/main/java/foundation/e/blisslauncher/features/shortcuts/DeepShortcutManager.java +++ b/app/src/main/java/foundation/e/blisslauncher/features/shortcuts/DeepShortcutManager.java @@ -144,7 +144,7 @@ public class DeepShortcutManager { mLauncherApps.startShortcut(packageName, id, sourceBounds, startActivityOptions, user); mWasLastCallSuccess = true; } catch (SecurityException | IllegalStateException e) { - Timber.tag(TAG).e(e, "Failed to start shortcut"); + Timber.tag(TAG).w(e, "Failed to start shortcut"); mWasLastCallSuccess = false; } } @@ -158,7 +158,7 @@ public class DeepShortcutManager { mWasLastCallSuccess = true; return icon; } catch (SecurityException | IllegalStateException e) { - Timber.tag(TAG).e(e, "Failed to get shortcut icon"); + Timber.tag(TAG).w(e, "Failed to get shortcut icon"); mWasLastCallSuccess = false; } } @@ -212,7 +212,7 @@ public class DeepShortcutManager { shortcutInfos = mLauncherApps.getShortcuts(q, user); mWasLastCallSuccess = true; } catch (SecurityException | IllegalStateException e) { - Timber.tag(TAG).e(e, "Failed to query for shortcuts"); + Timber.tag(TAG).w(e, "Failed to query for shortcuts"); mWasLastCallSuccess = false; } if (shortcutInfos == null) { @@ -234,7 +234,7 @@ public class DeepShortcutManager { try { return mLauncherApps.hasShortcutHostPermission(); } catch (SecurityException | IllegalStateException e) { - Timber.tag(TAG).e(e, "Failed to make shortcut manager call"); + Timber.tag(TAG).w(e, "Failed to make shortcut manager call"); } } return false; -- GitLab