Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9016b446 authored by lpeter's avatar lpeter
Browse files

Flag removal: component_state_changed_metrics

FLAG: EXEMPT removing android.content.pm.component_state_changed_metrics
Bug: 409607044
Test: atest ComponentStateChangedReportedStatsTests
Change-Id: I360377747d934bbcfd5c103285931c805d1fdc16
parent dfce98bd
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -210,14 +210,6 @@ flag {
    is_fixed_read_only: true
}

flag {
    name: "component_state_changed_metrics"
    namespace: "package_manager_service"
    description: "Feature flag to log the metrics when the component state is changed."
    bug: "316916801"
    is_fixed_read_only: true
}

flag {
    name: "get_package_info_with_fd"
    is_exported: true
+0 −4
Original line number Diff line number Diff line
@@ -33,7 +33,6 @@ import android.content.ComponentName;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.content.pm.DataLoaderType;
import android.content.pm.Flags;
import android.content.pm.PackageInstaller;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
@@ -472,9 +471,6 @@ final class PackageMetrics {

    public static void reportComponentStateChanged(@NonNull Computer computer,
            List<ComponentStateMetrics> componentStateMetricsList, @UserIdInt int userId) {
        if (!Flags.componentStateChangedMetrics()) {
            return;
        }
        if (componentStateMetricsList == null || componentStateMetricsList.isEmpty()) {
            Slog.d(TAG, "Fail to report component state due to metrics is empty");
            return;