Add metrics for taskbar 3 button nav
Fixes: 221075063 Test: wwlogcat shows right events, new events show up on aster dashboard Change-Id: I3864ac02ea00f281d33ccb26b95a4916bd8b6be9
This commit is contained in:
1 parent
9818664bd6
commit
ddbf5374aa
5 files changed
+157
-3
No files matched your search
@@ -56,6 +56,7 @@ import android.widget.Toast;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.annotation.VisibleForTesting;
|
||||
|
||||
import com.android.launcher3.AbstractFloatingView;
|
||||
import com.android.launcher3.BubbleTextView;
|
||||
@@ -66,6 +67,7 @@ import com.android.launcher3.dot.DotInfo;
|
||||
import com.android.launcher3.folder.Folder;
|
||||
import com.android.launcher3.folder.FolderIcon;
|
||||
import com.android.launcher3.logger.LauncherAtom;
|
||||
import com.android.launcher3.logging.StatsLogManager;
|
||||
import com.android.launcher3.model.data.AppInfo;
|
||||
import com.android.launcher3.model.data.FolderInfo;
|
||||
import com.android.launcher3.model.data.ItemInfo;
|
||||
@@ -249,6 +251,13 @@ public class TaskbarActivityContext extends BaseTaskbarContext {
|
||||
mDeviceProfile.updateAllAppsIconSize(1, resources); // Leave all apps unscaled.
|
||||
}
|
||||
|
||||
@VisibleForTesting
|
||||
@Override
|
||||
public StatsLogManager getStatsLogManager() {
|
||||
// Used to mock, can't mock a default interface method directly
|
||||
return super.getStatsLogManager();
|
||||
}
|
||||
|
||||
/** Creates LayoutParams for adding a view directly to WindowManager as a new window */
|
||||
public WindowManager.LayoutParams createDefaultWindowLayoutParams() {
|
||||
WindowManager.LayoutParams windowLayoutParams = new WindowManager.LayoutParams(
|
||||
|
||||
Reference in new issue
Block a user