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

Commit c51cabd2 authored by Patrick Baumann's avatar Patrick Baumann
Browse files

Close gap on tracing AppsFilter

This change adds tracing to the only missing section of code.

Test: atest AppEnumerationTests
Bug: 141922841
Change-Id: I2ec606b6270af7329a2bb5e68bbd8884ccefedf2
parent 39710130
Loading
Loading
Loading
Loading
+22 −15
Original line number Diff line number Diff line
@@ -613,6 +613,7 @@ public class AppsFilter {
            } finally {
                Trace.endSection();
            }

            if (callingPkgSetting != null) {
                if (callingPkgInstruments(callingPkgSetting, targetPkgSetting, targetName)) {
                    return false;
@@ -626,6 +627,8 @@ public class AppsFilter {
                }
            }

            try {
                Trace.beginSection("mOverlayReferenceMapper");
                if (callingSharedPkgSettings != null) {
                    int size = callingSharedPkgSettings.size();
                    for (int index = 0; index < size; index++) {
@@ -647,6 +650,10 @@ public class AppsFilter {
                        return false;
                    }
                }
            } finally {
                Trace.endSection();
            }


            return true;
        } finally {