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

Commit 319f99f2 authored by Biswarup Pal's avatar Biswarup Pal
Browse files

Add NAN suspension flag to NanCapabilities AIDL

Test: m
Bug: 262872127
Change-Id: I01d40c8e59f4553746882745a8662b5b0fb3e19a
parent e8c39057
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -53,4 +53,5 @@ parcelable NanCapabilities {
  boolean supportsHe;
  boolean supportsPairing;
  boolean supportsSetClusterId;
  boolean supportsSuspension;
}
+5 −1
Original line number Diff line number Diff line
@@ -98,7 +98,11 @@ parcelable NanCapabilities {
     */
    boolean supportsPairing;
    /**
     * Flag to indicate if NAN setting cluster ID is supported.
     * Flag to indicate if setting NAN cluster ID is supported.
     */
    boolean supportsSetClusterId;
    /**
     * Flag to indicate if NAN suspension is supported.
     */
    boolean supportsSuspension;
}
+2 −0
Original line number Diff line number Diff line
@@ -2248,6 +2248,8 @@ bool convertLegacyNanCapabilitiesResponseToAidl(const legacy_hal::NanCapabilitie
    aidl_response->supportsHe = legacy_response.is_he_supported;
    aidl_response->supportsPairing = legacy_response.is_pairing_supported;
    aidl_response->supportsSetClusterId = legacy_response.is_set_cluster_id_supported;
    aidl_response->supportsSuspension = legacy_response.is_suspension_supported;

    return true;
}