Loading services/backup/java/com/android/server/backup/BackupManagerService.java +6 −4 Original line number Diff line number Diff line Loading @@ -1955,12 +1955,14 @@ public class BackupManagerService { .setPackage(pkgInfo.packageName); List<ResolveInfo> hosts = mPackageManager.queryIntentServicesAsUser( intent, 0, UserHandle.USER_OWNER); if (hosts != null) { final int N = hosts.size(); for (int i = 0; i < N; i++) { final ServiceInfo info = hosts.get(i).serviceInfo; tryBindTransport(info); } } } // Verify that the service exists and is hosted by a privileged app, then proceed to bind boolean tryBindTransport(ServiceInfo info) { Loading Loading
services/backup/java/com/android/server/backup/BackupManagerService.java +6 −4 Original line number Diff line number Diff line Loading @@ -1955,12 +1955,14 @@ public class BackupManagerService { .setPackage(pkgInfo.packageName); List<ResolveInfo> hosts = mPackageManager.queryIntentServicesAsUser( intent, 0, UserHandle.USER_OWNER); if (hosts != null) { final int N = hosts.size(); for (int i = 0; i < N; i++) { final ServiceInfo info = hosts.get(i).serviceInfo; tryBindTransport(info); } } } // Verify that the service exists and is hosted by a privileged app, then proceed to bind boolean tryBindTransport(ServiceInfo info) { Loading