[NAN] NAN System Api: RTT

am: ab9ef45971

Change-Id: I34039caac1a40a2c26d8a89d5a0d938fa5a4af62
This commit is contained in:
Etan Cohen
2016-07-15 16:52:06 +00:00
committed by android-build-merger
3 changed files with 4 additions and 1 deletions

View File

@@ -16,6 +16,7 @@
package android.net.wifi.nan;
import android.annotation.SystemApi;
import android.os.Parcel;
import android.os.Parcelable;

View File

@@ -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;

View File

@@ -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) {