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

Commit 7655b297 authored by Todd Kennedy's avatar Todd Kennedy
Browse files

Log "launched from" packge for all activities

Change-Id: I2d06dcd7d4ff7686e72ee24bd349e0f5e1b8273e
Fixes: 63992855
Test: Manual. Start an app and see that the from package is logged.
parent 003bd7e3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -361,7 +361,7 @@ class ActivityMetricsLogger {
            builder.setType(type);
            builder.addTaggedData(FIELD_CLASS_NAME, info.launchedActivity.info.name);
            final boolean isInstantApp = info.launchedActivity.info.applicationInfo.isInstantApp();
            if (isInstantApp && info.launchedActivity.launchedFromPackage != null) {
            if (info.launchedActivity.launchedFromPackage != null) {
                builder.addTaggedData(APP_TRANSITION_CALLING_PACKAGE_NAME,
                        info.launchedActivity.launchedFromPackage);
            }