mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
[AA+] Log LAUNCHER_ONSTOP & LAUNCHER_ONRESUME events with AllApps session InstanceId.
* Transitions between AllApps and App screen logs LAUNCHER_ONSTOP & LAUNCHER_ONRESUME events. This change add InstanceId specific to the current AllApps session to these logs; this will help to regenerate AllApps session from logs on the server side. This should only affect logs from AllApps screen, but not others. * Removes LiveSearchManager.allAppsLogger method as it may create confusion with 2 methods for logging into Statsd * Moved AllApps entry and exit logs to Launcher. Bug: 178562918 Test: Manual Change-Id: I5fab941777a3dfd2e9b19c0efd5b06d3884222ef
This commit is contained in:
@@ -141,7 +141,10 @@ public abstract class BaseActivity extends Activity implements ActivityContext {
|
||||
return mDeviceProfile;
|
||||
}
|
||||
|
||||
public final StatsLogManager getStatsLogManager() {
|
||||
/**
|
||||
* Returns {@link StatsLogManager} for user event logging.
|
||||
*/
|
||||
public StatsLogManager getStatsLogManager() {
|
||||
if (mStatsLogManager == null) {
|
||||
mStatsLogManager = StatsLogManager.newInstance(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user