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

Commit 3e403e47 authored by Gabriel Biren's avatar Gabriel Biren
Browse files

Add eventsEnabled field to UsdPublishConfig.

Corresponds to the enableEvents field in the
API PublishConfig class.

Bug: 382756996
Test: m
Change-Id: Ic7a836490d5f2e2f5be91627a72394e16d225699
parent e1b5d4b9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@ parcelable UsdPublishConfig {
  boolean isFsd;
  int announcementPeriodMillis;
  android.hardware.wifi.supplicant.UsdPublishTransmissionType transmissionType;
  boolean eventsEnabled;
  enum PublishType {
    SOLICITED_ONLY = 0,
    UNSOLICITED_ONLY = 1,
+7 −0
Original line number Diff line number Diff line
@@ -68,4 +68,11 @@ parcelable UsdPublishConfig {
     * Type of the publish transmission (ex. unicast, multicast).
     */
    UsdPublishTransmissionType transmissionType;

    /**
     * Whether to enable publish replied events. If disabled, then
     * |ISupplicantStaIfaceCallback.onUsdPublishReplied| will not be
     * called for this session.
     */
    boolean eventsEnabled;
}