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

Commit 13f9ff70 authored by Natiq Ahmed's avatar Natiq Ahmed
Browse files

Fix compilation errors

Fix compilation errors.

Change-Id: I1eeb2ef559fce81624f37527344f2798b6d648fe
parent 01e6ab92
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2813,7 +2813,7 @@ public class QuickContactActivity extends ContactsActivity {
                    Cursor cr = null;
                    // call query first, otherwise the count queries will fail
                    try{
                        long[] subId = SubscriptionManager.getSubId(sub);
                        int[] subId = SubscriptionManager.getSubId(sub);
                        if (subId != null
                            && TelephonyManager.getDefault().isMultiSimEnabled()) {
                            cr = getContentResolver().query(
+0 −4
Original line number Diff line number Diff line
@@ -68,10 +68,6 @@ import com.android.contacts.util.PhoneCapabilityTester;
public class PeopleActivityTest
        extends ActivityInstrumentationTestCase2<PeopleActivity>
{
    static {
        // AsyncTask class needs to be initialized on the main thread.
        AsyncTask.init();
    }

    private static final String TEST_ACCOUNT = "testAccount";
    private static final String TEST_ACCOUNT_TYPE = "testAccountType";
+1 −4
Original line number Diff line number Diff line
@@ -46,15 +46,12 @@ import com.android.contacts.common.test.mocks.MockAccountTypeManager;
 * or
 *   adb shell am instrument \
 *     -w com.android.contacts.tests/android.test.InstrumentationTestRunner
 *
 */
@SmallTest
public class ContactDeletionInteractionTest
        extends ActivityInstrumentationTestCase2<FragmentTestActivity> {

    static {
        // AsyncTask class needs to be initialized on the main thread.
        AsyncTask.init();
    }

    private static final Uri CONTACT_URI = ContentUris.withAppendedId(Contacts.CONTENT_URI, 13);
    private static final Uri ENTITY_URI = Uri.withAppendedPath(