Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a68dcce8 authored by Tony Mak's avatar Tony Mak
Browse files

Add a new property PROPERTY_WORK_CALL

In our current design, in-call ui in parent user is used.
We need a way for Telecom to tell in-call ui that is the call a work
call or not show that we can have some UI changes to reflect it.

Bug: 26022174
Change-Id: I5f54371ddac14ffdb50359c2e792b9f24858bcb8
parent 02668807
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -34588,6 +34588,7 @@ package android.telecom {
    field public static final int PROPERTY_GENERIC_CONFERENCE = 2; // 0x2
    field public static final int PROPERTY_HIGH_DEF_AUDIO = 16; // 0x10
    field public static final int PROPERTY_WIFI = 8; // 0x8
    field public static final int PROPERTY_WORK_CALL = 32; // 0x20
  }
  public final class CallAudioState implements android.os.Parcelable {
+1 −0
Original line number Diff line number Diff line
@@ -36790,6 +36790,7 @@ package android.telecom {
    field public static final int PROPERTY_GENERIC_CONFERENCE = 2; // 0x2
    field public static final int PROPERTY_HIGH_DEF_AUDIO = 16; // 0x10
    field public static final int PROPERTY_WIFI = 8; // 0x8
    field public static final int PROPERTY_WORK_CALL = 32; // 0x20
  }
  public static abstract deprecated class Call.Listener extends android.telecom.Call.Callback {
+1 −0
Original line number Diff line number Diff line
@@ -34590,6 +34590,7 @@ package android.telecom {
    field public static final int PROPERTY_GENERIC_CONFERENCE = 2; // 0x2
    field public static final int PROPERTY_HIGH_DEF_AUDIO = 16; // 0x10
    field public static final int PROPERTY_WIFI = 8; // 0x8
    field public static final int PROPERTY_WORK_CALL = 32; // 0x20
  }
  public final class CallAudioState implements android.os.Parcelable {
+6 −1
Original line number Diff line number Diff line
@@ -242,8 +242,13 @@ public final class Call {
         */
        public static final int PROPERTY_HIGH_DEF_AUDIO = 0x00000010;

        /**
         * Whether the call is associated with the work profile.
         */
        public static final int PROPERTY_WORK_CALL = 0x00000020;

        //******************************************************************************************
        // Next PROPERTY value: 0x00000020
        // Next PROPERTY value: 0x00000040
        //******************************************************************************************

        private final Uri mHandle;