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

Commit 1e67e2f4 authored by Songchun Fan's avatar Songchun Fan
Browse files

[bluetooth] remove ComponentInfoFlags annotation

We are updating the PackageManager annotations for the flags. Removing
all the references outside frameworks until we stablize the changes.

This is a no-op change.

BUG: 204432643
Test: manual
Tag: #refactor
Change-Id: Iec7de5811f4a241f9aee3c2bb1c533c847459699
parent 98cad5a2
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;
        }