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 am: 28232fc90e am: 2888ffd052

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17968712

Change-Id: I0f9605b1135c336d4d89b09733c1eef0f9f44a96
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Grace Jia
2022-05-05 18:49:50 +00:00
committed by Automerger Merge Worker

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.