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

Commit 8c6a9e02 authored by Salil Rajadhyaksha's avatar Salil Rajadhyaksha
Browse files

Add associated device failed precondition error code.

Bug: None
Flag: com.google.android.crossdeviceaccessservice.common.flags.enable_proximity_provider
Change-Id: I32bbd061bc9b3510fb1e40dff532d7859c0cb8d8
parent 39c6bc6b
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -73,4 +73,9 @@ enum ProximityResultCode {
    PRIMARY_DEVICE_RANGING_NOT_SUPPORTED = 24,
    PRIMARY_DEVICE_RANGING_NOT_SUPPORTED = 24,
    /** Requested ranging is not supported on the associated device. */
    /** Requested ranging is not supported on the associated device. */
    ASSOCIATED_DEVICE_RANGING_NOT_SUPPORTED = 25,
    ASSOCIATED_DEVICE_RANGING_NOT_SUPPORTED = 25,
    /**
       Failed precondition i.e. device not on-body or not locked or ranging method is turned off,
       as reported by the associated device.
    */
    ASSOCIATED_DEVICE_FAILED_PRECONDITION = 26,
}
}