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

Commit 91bae6ca authored by Fyodor Kupolov's avatar Fyodor Kupolov
Browse files

Tron metric for force stop app

Test: Manual
Bug: 31008660
Change-Id: I7c7818036286764ffa10bdc0d718b71a459846d9
parent 1d51b815
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -743,6 +743,8 @@ public class InstalledAppDetails extends AppInfoBase
    }

    private void forceStopPackage(String pkgName) {
        FeatureFactory.getFactory(getContext()).getMetricsFeatureProvider().action(getContext(),
                MetricsEvent.ACTION_APP_FORCE_STOP, pkgName);
        ActivityManager am = (ActivityManager) getActivity().getSystemService(
                Context.ACTIVITY_SERVICE);
        am.forceStopPackage(pkgName);