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

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

Merge "Use the right method to get the component state" into main

parents ef0c05a2 9edcee7e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3999,7 +3999,9 @@ public class PackageManagerService implements PackageSender, TestUtilityService
                final PackageMetrics.ComponentStateMetrics componentStateMetrics =
                        new PackageMetrics.ComponentStateMetrics(setting,
                                UserHandle.getUid(userId, packageSetting.getAppId()),
                                packageSetting.getEnabled(userId), callingUid);
                                setting.isComponent() ? computer.getComponentEnabledSettingInternal(
                                        setting.getComponentName(), callingUid, userId)
                                        : packageSetting.getEnabled(userId), callingUid);
                if (!setEnabledSettingInternalLocked(computer, packageSetting, setting, userId,
                        callingPackage)) {
                    continue;