Merge "Fixes a typo in Rotation Resolver." into sc-dev
This commit is contained in:
@@ -159,7 +159,7 @@ final class RotationResolverManagerPerUserService extends
|
|||||||
final Intent intent = new Intent(
|
final Intent intent = new Intent(
|
||||||
RotationResolverService.SERVICE_INTERFACE).setPackage(resolvedPackage);
|
RotationResolverService.SERVICE_INTERFACE).setPackage(resolvedPackage);
|
||||||
|
|
||||||
final ResolveInfo resolveInfo = context.getPackageManager().resolveActivityAsUser(intent,
|
final ResolveInfo resolveInfo = context.getPackageManager().resolveServiceAsUser(intent,
|
||||||
flags, context.getUserId());
|
flags, context.getUserId());
|
||||||
if (resolveInfo == null || resolveInfo.serviceInfo == null) {
|
if (resolveInfo == null || resolveInfo.serviceInfo == null) {
|
||||||
Slog.wtf(TAG, String.format("Service %s not found in package %s",
|
Slog.wtf(TAG, String.format("Service %s not found in package %s",
|
||||||
|
|||||||
Reference in New Issue
Block a user