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

Commit f56d9ef7 authored by Yi Jiang's avatar Yi Jiang
Browse files

Fixes a typo in Rotation Resolver.

Bug: 172370409
Test: manually tested on local devices.
Change-Id: Ie6b6f131e3772fa9cc0867dff78addded4c8cb10
parent 6c3b1b0b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -159,7 +159,7 @@ final class RotationResolverManagerPerUserService extends
        final Intent intent = new Intent(
                RotationResolverService.SERVICE_INTERFACE).setPackage(resolvedPackage);

        final ResolveInfo resolveInfo = context.getPackageManager().resolveActivityAsUser(intent,
        final ResolveInfo resolveInfo = context.getPackageManager().resolveServiceAsUser(intent,
                flags, context.getUserId());
        if (resolveInfo == null || resolveInfo.serviceInfo == null) {
            Slog.wtf(TAG, String.format("Service %s not found in package %s",