mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Merge "ItemInfo null check inside BaseDraggingActivity" into ub-launcher3-rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7ccd2daa62
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user