Skip to content

Stale user app data in analytics when the VM service connection changes #9623

@elliette

Description

@elliette

When the VM service connection changes, DevTools calls setupUserApplicationDimensions.

However, because _userApplicationDimensionsComputed was set to true after the first VM service connection, the dimensions are not updated for the new connection.

void setupUserApplicationDimensions() {
if (serviceConnection.serviceManager.connectedApp != null &&
!_userApplicationDimensionsComputed &&
!_computingUserApplicationDimensions) {
_computingUserApplicationDimensions = true;
_computeUserApplicationCustomGTagData();
_userApplicationDimensionsComputed = true;
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2important to work on, but not at the top of the work list.analyticsRelated to DevTools analyticscross-screenIssues that affect multiple DevTools screens, i.e. shared functionality and widgets

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions