OSDN Git Service

Add comment to RIL_UNSOL_CALL_RING.
authorWink Saville <wink@google.com>
Fri, 28 Aug 2009 18:16:03 +0000 (11:16 -0700)
committerWink Saville <wink@google.com>
Fri, 28 Aug 2009 18:16:03 +0000 (11:16 -0700)
Document the expected behavior and the new system properties
ro.telephony.call_ring.multiple and ro.telephony.call_ring.delay.

Change-Id: I600358ea29a31cafba99c58492003b7c2c6f77ed

include/telephony/ril.h

index af7a873..098954e 100644 (file)
@@ -3134,6 +3134,15 @@ typedef struct {
  * RIL_UNSOL_CALL_RING
  *
  * Ring indication for an incoming call (eg, RING or CRING event).
+ * There must be at least one RIL_UNSOL_CALL_RING at the beginning
+ * of a call and sending multiple is optional. If the system property
+ * ro.telephony.call_ring.multiple is false then the upper layers
+ * will generate the multiple events internally. Otherwise the vendor
+ * ril must generate multiple RIL_UNSOL_CALL_RING if
+ * ro.telephony.call_ring.multiple is true or if it is absent.
+ *
+ * The rate of these events is controlled by ro.telephony.call_ring.delay
+ * and has a default value of 3000 (3 seconds) if absent.
  *
  * "data" is null for GSM
  * "data" is const RIL_CDMA_SignalInfoRecord * if CDMA