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

Commit f5028672 authored by Songchun Fan's avatar Songchun Fan Committed by Gerrit Code Review
Browse files

Merge "[bluetooth] remove ComponentInfoFlags annotation"

parents 299f3565 1e67e2f4
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;
        }