Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8da63ce2 authored by Michael Jurka's avatar Michael Jurka Committed by Android Git Automerger
Browse files

am 303392de: am 1199a37a: Merge "Catch ActivityNotFoundException in Recents" into klp-dev

* commit '303392de':
  Catch ActivityNotFoundException in Recents
parents 5387aa50 303392de
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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) {