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

Commit c43f791d authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Flag removal: component_state_changed_metrics" into main

parents 602b5581 9016b446
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;