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

Commit 7ccd2daa authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "ItemInfo null check inside BaseDraggingActivity" into ub-launcher3-rvc-dev

parents 0f6ecb67 103e8e36
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -181,7 +181,9 @@ public abstract class BaseDraggingActivity extends BaseActivity
                        sourceContainer);
            }
            getUserEventDispatcher().logAppLaunch(v, intent, user);
            getStatsLogManager().log(APP_LAUNCH_TAP, item.buildProto(null, null));

            getStatsLogManager().log(APP_LAUNCH_TAP, item == null ? null
                    : item.buildProto(null, null));
            return true;
        } catch (NullPointerException|ActivityNotFoundException|SecurityException e) {
            Toast.makeText(this, R.string.activity_not_found, Toast.LENGTH_SHORT).show();