Merge "Support notion of ECBM for work profiles." into udc-dev am: 3d414dd338

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

Change-Id: Id2c071cad12a27a86392cd4d8e05dae349ed31f3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Pranav Madapurmath
2023-05-05 19:11:47 +00:00
committed by Automerger Merge Worker

View File

@@ -1293,7 +1293,8 @@ public class CallLog {
USER_MISSED_NO_VIBRATE,
USER_MISSED_CALL_SCREENING_SERVICE_SILENCED,
USER_MISSED_CALL_FILTERS_TIMEOUT,
USER_MISSED_NEVER_RANG
USER_MISSED_NEVER_RANG,
USER_MISSED_NOT_RUNNING
})
@Retention(RetentionPolicy.SOURCE)
public @interface MissedReason {}
@@ -1390,6 +1391,13 @@ public class CallLog {
*/
public static final long USER_MISSED_NEVER_RANG = 1 << 23;
/**
* When {@link CallLog.Calls#TYPE} is {@link CallLog.Calls#MISSED_TYPE}, set this bit when
* the user receiving the call is not running (i.e. work profile paused).
* @hide
*/
public static final long USER_MISSED_NOT_RUNNING = 1 << 24;
/**
* Where the {@link CallLog.Calls#TYPE} is {@link CallLog.Calls#MISSED_TYPE},
* indicates factors which may have lead the user to miss the call.