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

Commit 0447afa2 authored by Pranav Madapurmath's avatar Pranav Madapurmath
Browse files

Add new call log display name field

Bug: 429015736
Flag: com.android.server.telecom.flags.support_display_name_call_log
Test: CTS + unit test
Change-Id: I430476840a23b95c172584de0a9dab0ba4f59058
parent d0075dd9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -37194,6 +37194,7 @@ package android.provider {
    field public static final String PHONE_ACCOUNT_COMPONENT_NAME = "subscription_component_name";
    field public static final String PHONE_ACCOUNT_ID = "subscription_id";
    field public static final String POST_DIAL_DIGITS = "post_dial_digits";
    field @FlaggedApi("com.android.server.telecom.flags.support_display_name_call_log") public static final String PREFERRED_DISPLAY_NAME = "preferred_display_name";
    field public static final int PRESENTATION_ALLOWED = 1; // 0x1
    field public static final int PRESENTATION_PAYPHONE = 4; // 0x4
    field public static final int PRESENTATION_RESTRICTED = 2; // 0x2
+12 −0
Original line number Diff line number Diff line
@@ -687,6 +687,18 @@ public class CallLog {
         * <P>Type: TEXT</P>
         */
        public static final String CACHED_NAME = "name";
        /**
         * The preferred name associated with the phone number, if it exists.
         *
         * <p>This value is typically filled in with the caller name presentation (CNAP) name to be
         * used as the preferred name that should be displayed in the call log. This is notified
         * from the network and propagated into
         * {@link com.android.server.telecom.Call#getCallerDisplayName()}. However, this field can
         * be extended to account for other use cases as well.
         * <P>Type: TEXT</P>
         */
        @FlaggedApi(Flags.FLAG_SUPPORT_DISPLAY_NAME_CALL_LOG)
        public static final String PREFERRED_DISPLAY_NAME = "preferred_display_name";
        /**
         * The cached number type (Home, Work, etc) associated with the phone number, if it exists.
         *