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

Commit af95cbea authored by mrulhania's avatar mrulhania
Browse files

Fix AttributionSource#getDeviceId docs

Fix: 294292056
Test: presubmit
Change-Id: I6ebc5a59f5265f536cfa6b56884f98ff22044a6d
parent b15a00ed
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -517,7 +517,11 @@ public final class AttributionSource implements Parcelable {
    }

    /**
     * The device ID for which permissions are checked.
     * Gets the device ID for this attribution source. Attribution source can set the device ID
     * using {@link Builder#setDeviceId(int)}, the default device ID is
     * {@link Context#DEVICE_ID_DEFAULT}.
     * <p>
     * This device ID is used for permissions checking during attribution source validation.
     */
    public int getDeviceId() {
        return mAttributionSourceState.deviceId;