diff --git a/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java b/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java index ada30acc68cf2..5ebd11e031606 100644 --- a/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java @@ -23,6 +23,7 @@ import android.app.ActivityManager; import android.app.ActivityManagerNative; import android.app.ActivityOptions; import android.app.TaskStackBuilder; +import android.content.ActivityNotFoundException; import android.content.Context; import android.content.Intent; import android.content.res.Configuration; @@ -698,6 +699,8 @@ public class RecentsPanelView extends FrameLayout implements OnItemClickListener new UserHandle(UserHandle.USER_CURRENT)); } catch (SecurityException e) { Log.e(TAG, "Recents does not have the permission to launch " + intent, e); + } catch (ActivityNotFoundException e) { + Log.e(TAG, "Error launching activity " + intent, e); } } if (usingDrawingCache) {