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

Commit 73867f93 authored by Etan Cohen's avatar Etan Cohen Committed by android-build-merger
Browse files

[NAN] NAN System Api: RTT

am: ab9ef459

Change-Id: I34039caac1a40a2c26d8a89d5a0d938fa5a4af62
parents 074aec74 ab9ef459
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package android.net.wifi.nan;

import android.annotation.SystemApi;
import android.os.Parcel;
import android.os.Parcelable;

+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ import android.annotation.NonNull;
import android.annotation.Nullable;
import android.annotation.SdkConstant;
import android.annotation.SdkConstant.SdkConstantType;
import android.annotation.SystemApi;
import android.net.wifi.RttManager;
import android.os.Binder;
import android.os.Bundle;
+2 −1
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
package android.net.wifi.nan;

import android.annotation.Nullable;
import android.annotation.SystemApi;
import android.net.wifi.RttManager;
import android.util.Log;

@@ -167,7 +168,7 @@ public class WifiNanSession {
     *                 {@link android.net.wifi.RttManager.RttParams#bssid} member must be set to
     *                 a peer ID - not to a MAC address.
     * @param listener The listener to receive the results of the ranging session.
     * @hide (RTT API isn't public yet so can't unhide here)
     * @hide PROPOSED_NAN_SYSTEM_API [TODO: b/28847998 - track RTT API & visilibity]
     */
    public void startRanging(RttManager.RttParams[] params, RttManager.RttListener listener) {
        if (mTerminated) {