summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Garnes <matt@cyngn.com>2015-03-06 11:20:43 -0800
committerRajesh Yengisetty <rajesh@cyngn.com>2015-03-10 19:08:57 +0000
commit7c894cb36ea46bbe9f3aa6dc290c6e69e29e1ae1 (patch)
tree62fe5fba04dd3e86baad8f357cd2038589042e5b
parent3d170b87a4c1d34ef878bd56e8b594ce5804fb7b (diff)
downloadandroid_packages_apps_Dialer-7c894cb36ea46bbe9f3aa6dc290c6e69e29e1ae1.tar.gz
android_packages_apps_Dialer-7c894cb36ea46bbe9f3aa6dc290c6e69e29e1ae1.tar.bz2
android_packages_apps_Dialer-7c894cb36ea46bbe9f3aa6dc290c6e69e29e1ae1.zip
Do not reload smart dial database twice in DialtactsActivity.
In fe57f36d843b3c973aa44621602a57d0b1e208a7 different logic was introduced to reload the smart dial DB when the locale changes. This added a duplicate call to update the smart dial db if the locale has not changed. Remove the duplicate call that existed before this patch. Change-Id: Ibd8aff58537b101883bf078090230144676633f5 (cherry picked from commit 032220e7f5d022f0cfcabb907271db49827d68c2)
-rw-r--r--src/com/android/dialer/DialtactsActivity.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/com/android/dialer/DialtactsActivity.java b/src/com/android/dialer/DialtactsActivity.java
index b785af654..c9736ce90 100644
--- a/src/com/android/dialer/DialtactsActivity.java
+++ b/src/com/android/dialer/DialtactsActivity.java
@@ -495,7 +495,6 @@ public class DialtactsActivity extends TransactionSafeActivity implements View.O
}
mFirstLaunch = false;
prepareVoiceSearchButton();
- mDialerDatabaseHelper.startSmartDialUpdateThread();
updateFloatingActionButtonControllerAlignment(false /* animate */);
setConferenceDialButtonImage(false);
setConferenceDialButtonVisibility(true);