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

Commit faffc6e4 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Use AttributionSource Builder" into stage-aosp-master

parents 7371482d 199a385e
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -88,8 +88,9 @@ public final class BluetoothManager {
                uid = android.os.Process.SYSTEM_UID;
            }
            try {
                res = new AttributionSource(uid,
                        AppGlobals.getPackageManager().getPackagesForUid(uid)[0], null);
                res = new AttributionSource.Builder(uid)
                    .setPackageName(AppGlobals.getPackageManager().getPackagesForUid(uid)[0])
                    .build();
            } catch (RemoteException ignored) {
            }
        }