Replaces StatsLogManager.log with StatsLogManager.logger()

Bug: 159170445
Change-Id: Ice6c8a9ae30d8e6b3843bfe42926053849bf9fe0
This commit is contained in:
thiruram
2020-06-16 18:58:13 -07:00
committed by Thiru Ramasamy
parent 4de12a2424
commit c6a38ba5d8
20 changed files with 61 additions and 150 deletions

View File

@@ -253,32 +253,6 @@ public class StatsLogManager implements ResourceBasedOverride {
return mgr;
}
/**
* Logs an event.
*
* @param event an enum implementing EventEnum interface.
*/
public void log(EventEnum event) {
}
/**
* Logs an event.
*
* @param event an enum implementing EventEnum interface.
* @param instanceId an identifier obtained from an InstanceIdSequence.
*/
public void log(EventEnum event, InstanceId instanceId) {
}
/**
* Logs an event.
*
* @param event an enum implementing EventEnum interface.
* @param itemInfo item typically containing app or task launch related information.
*/
public void log(EventEnum event, @Nullable ItemInfo itemInfo) {
}
/**
* Logs an event.
*
@@ -298,16 +272,6 @@ public class StatsLogManager implements ResourceBasedOverride {
int srcState, int dstState) {
}
/**
* Logs an event.
*
* @param event an enum implementing EventEnum interface.
* @param instanceId an identifier obtained from an InstanceIdSequence.
* @param itemInfo item typically containing app or task launch related information.
*/
public void log(EventEnum event, InstanceId instanceId, @Nullable ItemInfo itemInfo) {
}
/**
* Log an event with ranked-choice information along with package. Does nothing if event.getId()
* <= 0.
@@ -321,13 +285,6 @@ public class StatsLogManager implements ResourceBasedOverride {
int position) {
}
/**
* Logs an event and accompanying {@link LauncherState}s. If either of the state refers
* to workspace state, then use pageIndex to pass in index of workspace.
*/
public void log(EventEnum event, int srcState, int dstState, int pageIndex) {
}
/**
* Logs snapshot, or impression of the current workspace.
*/