Merge "Exclude the default CDM from metrics history." into udc-dev

This commit is contained in:
Alex Dale
2023-05-03 18:44:06 +00:00
committed by Android (Google) Code Review
2 changed files with 5 additions and 1 deletions

View File

@@ -47,7 +47,7 @@ struct CdmIdentifier {
// to the default cdm. E.g. no spoid, origin or app package name. Use this
// comparison in lieu of the == operator when checking to see if the
// identifier would cause the default provisioned certificate to be used.
bool IsEquivalentToDefault() {
bool IsEquivalentToDefault() const {
return spoid == EMPTY_SPOID && origin == EMPTY_ORIGIN &&
app_package_name == EMPTY_APP_PACKAGE_NAME;
}