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

Commit bb0bf275 authored by Austin Borger's avatar Austin Borger Committed by Android (Google) Code Review
Browse files

Merge "Create a token for the AttributionSource ACameraManager passes to connectDevice" into main

parents a77ba661 ad904a8c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -920,6 +920,7 @@ ACameraManager::openCamera(
    clientAttribution.deviceId = mDeviceContext.deviceId;
    clientAttribution.packageName = "";
    clientAttribution.attributionTag = std::nullopt;
    clientAttribution.token = sp<BBinder>::make();

    // No way to get package name from native.
    // Send a zero length package name and let camera service figure it out from UID