diff options
author | Eric Erfanian <erfanian@google.com> | 2017-05-05 20:45:14 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-05-05 20:45:14 +0000 |
commit | 92a3240cb0ad13413abd7507313ddd04aee19c9a (patch) | |
tree | 7759f57348ab1864a745c831a64be761148b60d7 /java/com/android/dialer/database/DialerDatabaseHelper.java | |
parent | 300a8683b9c28424fb0f0c571a0abe128c461f69 (diff) | |
parent | 738bb09adee2b56c99063a0264f8f76de393143b (diff) |
Update Dialer to v10 RC17
am: 738bb09ade
Change-Id: Iaa12541ea3513328710edc6ae21f77d3260bebe8
Diffstat (limited to 'java/com/android/dialer/database/DialerDatabaseHelper.java')
-rw-r--r-- | java/com/android/dialer/database/DialerDatabaseHelper.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/com/android/dialer/database/DialerDatabaseHelper.java b/java/com/android/dialer/database/DialerDatabaseHelper.java index 1984b9abc..7b6033b65 100644 --- a/java/com/android/dialer/database/DialerDatabaseHelper.java +++ b/java/com/android/dialer/database/DialerDatabaseHelper.java @@ -597,6 +597,8 @@ public class DialerDatabaseHelper extends SQLiteOpenHelper { * since last update. */ public void updateSmartDialDatabase() { + LogUtil.enterBlock("DialerDatabaseHelper.updateSmartDialDatabase"); + final SQLiteDatabase db = getWritableDatabase(); synchronized (mLock) { @@ -799,6 +801,8 @@ public class DialerDatabaseHelper extends SQLiteOpenHelper { editor.putLong(LAST_UPDATED_MILLIS, currentMillis); editor.apply(); + LogUtil.i("DialerDatabaseHelper.updateSmartDialDatabase", "broadcasting smart dial update"); + // Notify content observers that smart dial database has been updated. Intent intent = new Intent(ACTION_SMART_DIAL_UPDATED); intent.setPackage(mContext.getPackageName()); |