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

Commit 5042f7ea authored by Evan Millar's avatar Evan Millar
Browse files

Unhide ContactsContract#QuickContact and fix sdk build

Change-Id: I60fdeb6d0625996d76a10f0a623c9f474337758d
parent e6b27966
Loading
Loading
Loading
Loading
+92 −0
Original line number Diff line number Diff line
@@ -115752,6 +115752,98 @@
>
</constructor>
</class>
<class name="ContactsContract.QuickContact"
 extends="java.lang.Object"
 abstract="false"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
<constructor name="ContactsContract.QuickContact"
 type="android.provider.ContactsContract.QuickContact"
 static="false"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
</constructor>
<method name="showQuickContact"
 return="void"
 abstract="false"
 native="false"
 synchronized="false"
 static="true"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="context" type="android.content.Context">
</parameter>
<parameter name="target" type="android.view.View">
</parameter>
<parameter name="lookupUri" type="android.net.Uri">
</parameter>
<parameter name="mode" type="int">
</parameter>
<parameter name="excludeMimes" type="java.lang.String[]">
</parameter>
</method>
<method name="showQuickContact"
 return="void"
 abstract="false"
 native="false"
 synchronized="false"
 static="true"
 final="false"
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="context" type="android.content.Context">
</parameter>
<parameter name="target" type="android.graphics.Rect">
</parameter>
<parameter name="lookupUri" type="android.net.Uri">
</parameter>
<parameter name="mode" type="int">
</parameter>
<parameter name="excludeMimes" type="java.lang.String[]">
</parameter>
</method>
<field name="MODE_LARGE"
 type="int"
 transient="false"
 volatile="false"
 value="3"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="MODE_MEDIUM"
 type="int"
 transient="false"
 volatile="false"
 value="2"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="MODE_SMALL"
 type="int"
 transient="false"
 volatile="false"
 value="1"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
</class>
<class name="ContactsContract.RawContacts"
 extends="java.lang.Object"
 abstract="false"
+3 −5
Original line number Diff line number Diff line
@@ -2133,16 +2133,14 @@ public final class ContactsContract {
    /**
     * Helper methods to display QuickContact dialogs that allow users to pivot on
     * a specific {@link Contacts} entry.
     *
     * @hide
     */
    public static final class QuickContact {
        /**
         * Action used to trigger person pivot dialog.
         * @hide
         */
        public static final String ACTION_FAST_TRACK =
                "com.android.contacts.action.FAST_TRACK";
        public static final String ACTION_QUICK_CONTACT =
                "com.android.contacts.action.QUICK_CONTACT";

        /**
         * Extra used to specify pivot dialog location in screen coordinates.
@@ -2247,7 +2245,7 @@ public final class ContactsContract {
        public static void showQuickContact(Context context, Rect target, Uri lookupUri, int mode,
                String[] excludeMimes) {
            // Launch pivot dialog through intent for now
            final Intent intent = new Intent(ACTION_FAST_TRACK);
            final Intent intent = new Intent(ACTION_QUICK_CONTACT);
            intent.setData(lookupUri);
            intent.putExtra(EXTRA_TARGET_RECT, target);
            intent.putExtra(EXTRA_MODE, mode);