From 236d6dbb0f6a7d352345b0a59fa21499ad55c2d5 Mon Sep 17 00:00:00 2001 From: weijiaxu Date: Mon, 20 Nov 2017 17:40:49 -0800 Subject: Quick fix recursively importing. Test: On a local device. PiperOrigin-RevId: 176443649 Change-Id: I73982924baf6ce0e947137766ec0038decd716e5 --- java/com/android/dialer/databasepopulator/CallLogPopulator.java | 3 +-- java/com/android/dialer/databasepopulator/VoicemailPopulator.java | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'java') diff --git a/java/com/android/dialer/databasepopulator/CallLogPopulator.java b/java/com/android/dialer/databasepopulator/CallLogPopulator.java index eb3328c78..dd6dc6420 100644 --- a/java/com/android/dialer/databasepopulator/CallLogPopulator.java +++ b/java/com/android/dialer/databasepopulator/CallLogPopulator.java @@ -26,7 +26,6 @@ import android.provider.CallLog.Calls; import android.support.annotation.NonNull; import android.support.annotation.WorkerThread; import com.android.dialer.common.Assert; -import com.android.dialer.databasepopulator.CallLogPopulator.CallEntry.Builder; import com.google.auto.value.AutoValue; import java.util.ArrayList; import java.util.Arrays; @@ -92,7 +91,7 @@ public final class CallLogPopulator { ArrayList operations = new ArrayList<>(); // Do this 4 times to make the call log 4 times bigger. long timeMillis = System.currentTimeMillis(); - List callLogs = new ArrayList<>(); + List callLogs = new ArrayList<>(); if (fastMode) { callLogs.add(SIMPLE_CALL_LOG[0]); } else { diff --git a/java/com/android/dialer/databasepopulator/VoicemailPopulator.java b/java/com/android/dialer/databasepopulator/VoicemailPopulator.java index 3e692ebcf..b1f8d1fe4 100644 --- a/java/com/android/dialer/databasepopulator/VoicemailPopulator.java +++ b/java/com/android/dialer/databasepopulator/VoicemailPopulator.java @@ -29,7 +29,6 @@ import android.support.annotation.WorkerThread; import android.telecom.PhoneAccountHandle; import android.telephony.TelephonyManager; import com.android.dialer.common.Assert; -import com.android.dialer.databasepopulator.VoicemailPopulator.Voicemail.Builder; import com.google.auto.value.AutoValue; import java.util.ArrayList; import java.util.Arrays; @@ -81,7 +80,7 @@ public final class VoicemailPopulator { public static void populateVoicemail(@NonNull Context context, boolean fastMode) { Assert.isWorkerThread(); enableVoicemail(context); - List voicemails = new ArrayList<>(); + List voicemails = new ArrayList<>(); if (fastMode) { voicemails.add(SIMPLE_VOICEMAILS[0]); } else { -- cgit v1.2.3