mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 07:46:55 +00:00
ItemInfo supports lite proto builder (1/n)
Bug: 144953948 Bug: 137777105 The new lite proto builder is used to send two types of logging to statsd 1) Snapshot logging 2) App launch, task launch, task dismiss Statsd will be connected once platform CL is submitted Change-Id: If606cee5288fe4bd6c522605ae84eb0f24174f5b
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
package com.android.launcher3;
|
||||
|
||||
import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.APP_LAUNCH_TAP;
|
||||
import static com.android.launcher3.util.DefaultDisplay.CHANGE_ROTATION;
|
||||
|
||||
import android.app.ActivityOptions;
|
||||
@@ -181,7 +182,7 @@ public abstract class BaseDraggingActivity extends BaseActivity
|
||||
sourceContainer);
|
||||
}
|
||||
getUserEventDispatcher().logAppLaunch(v, intent, user);
|
||||
getStatsLogManager().logAppLaunch(v, intent, user);
|
||||
getStatsLogManager().log(APP_LAUNCH_TAP, 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