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

Commit 86cc0605 authored by Alan Stokes's avatar Alan Stokes
Browse files

Minor code simplification.

Test: atest VerifyAppsOverUsbPreferenceControllerTest
Bug: 135751498
Change-Id: I51696147a211792e53cc6178e0912c760d667034
parent 50eb686f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -151,6 +151,6 @@ public class VerifyAppsOverUsbPreferenceController extends DeveloperOptionsPrefe
        verification.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
        final List<ResolveInfo> receivers = mPackageManager.queryBroadcastReceivers(
                verification, 0 /* flags */);
        return receivers.size() != 0;
        return !receivers.isEmpty();
    }
}