Merge "Add USER_MISSED_NEVER_RANG to cover the case for call reported as miss even before it get the chance to ring." into tm-dev

This commit is contained in:
Grace Jia
2022-05-05 17:43:34 +00:00
committed by Android (Google) Code Review

View File

@@ -1292,7 +1292,8 @@ public class CallLog {
USER_MISSED_LOW_RING_VOLUME,
USER_MISSED_NO_VIBRATE,
USER_MISSED_CALL_SCREENING_SERVICE_SILENCED,
USER_MISSED_CALL_FILTERS_TIMEOUT
USER_MISSED_CALL_FILTERS_TIMEOUT,
USER_MISSED_NEVER_RANG
})
@Retention(RetentionPolicy.SOURCE)
public @interface MissedReason {}
@@ -1382,6 +1383,13 @@ public class CallLog {
*/
public static final long USER_MISSED_CALL_FILTERS_TIMEOUT = 1 << 22;
/**
* When {@link CallLog.Calls#TYPE} is {@link CallLog.Calls#MISSED_TYPE}, set this bit when
* the call ended before ringing.
* @hide
*/
public static final long USER_MISSED_NEVER_RANG = 1 << 23;
/**
* Where the {@link CallLog.Calls#TYPE} is {@link CallLog.Calls#MISSED_TYPE},
* indicates factors which may have lead the user to miss the call.