Add USER_MISSED_NEVER_RANG to cover the case for call reported as miss

even before it get the chance to ring.

Bug: 230009891
Test: TelecomUnitTest
Change-Id: I9e6d69b7ee763ebc6a7a1693cb0bb54f5bde7b1b
This commit is contained in:
Grace Jia
2022-04-26 15:05:12 -07:00
parent a3ca84f805
commit 747c85d54e

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.