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

Commit 5bed5556 authored by Songchun Fan's avatar Songchun Fan Committed by Automerger Merge Worker
Browse files

Merge "[bluetooth] remove ComponentInfoFlags annotation" am: f5028672

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1900810

Change-Id: I80bb1d5818927d404f9ad2b4d08f2dfc076849d4
parents 7122f5bb f5028672
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -83,12 +83,12 @@ public class HeadsetSystemInterface {
     * there are no matches.
     */
    private @Nullable ComponentName resolveSystemService(@NonNull PackageManager pm,
            @PackageManager.ComponentInfoFlags int flags, Intent intent) {
            int componentInfoFlags, Intent intent) {
        if (intent.getComponent() != null) {
            return intent.getComponent();
        }

        List<ResolveInfo> results = pm.queryIntentServices(intent, flags);
        List<ResolveInfo> results = pm.queryIntentServices(intent, componentInfoFlags);
        if (results == null) {
            return null;
        }