summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2015-01-29 17:24:26 -0800
committerDianne Hackborn <hackbod@google.com>2015-01-29 17:24:26 -0800
commit98e8c76f401c7f4d56a9ef28e8f3521d69cdee58 (patch)
treea8f7328324aaa41377bae9a6a8bd603171cbbb4f
parentc44ee526c56d2f5e680cef24897cff3a922d6a2f (diff)
downloadpackages_providers_ContactsProvider-98e8c76f401c7f4d56a9ef28e8f3521d69cdee58.zip
packages_providers_ContactsProvider-98e8c76f401c7f4d56a9ef28e8f3521d69cdee58.tar.gz
packages_providers_ContactsProvider-98e8c76f401c7f4d56a9ef28e8f3521d69cdee58.tar.bz2
No longer need to take care of pre boot msg.
Change-Id: Ie000ca609dfeb166451dee24f0cd15622f09c19a
-rw-r--r--res/values/strings.xml3
-rw-r--r--src/com/android/providers/contacts/ContactsUpgradeReceiver.java5
2 files changed, 0 insertions, 8 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index c326eee..8be7bca 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -26,9 +26,6 @@
<!-- What to show in messaging that refers to this provider, e.g. AccountSyncSettings -->
<string name="provider_label">Contacts</string>
- <!-- [CHAR LIMIT=NONE] Boot message while upgrading contacts. -->
- <string name="upgrade_msg">Upgrading contacts database.</string>
-
<!-- Ticker for the notification shown when updating contacts fails because of memory shortage -->
<string name="upgrade_out_of_memory_notification_ticker">Contacts upgrade needs more memory.</string>
diff --git a/src/com/android/providers/contacts/ContactsUpgradeReceiver.java b/src/com/android/providers/contacts/ContactsUpgradeReceiver.java
index ba8acb8..6c35717 100644
--- a/src/com/android/providers/contacts/ContactsUpgradeReceiver.java
+++ b/src/com/android/providers/contacts/ContactsUpgradeReceiver.java
@@ -75,11 +75,6 @@ public class ContactsUpgradeReceiver extends BroadcastReceiver {
ContactsDatabaseHelper helper = ContactsDatabaseHelper.getInstance(context);
ProfileDatabaseHelper profileHelper = ProfileDatabaseHelper.getInstance(context);
Log.i(TAG, "Creating or opening contacts database");
- try {
- ActivityManagerNative.getDefault().showBootMessage(
- context.getText(R.string.upgrade_msg), true);
- } catch (RemoteException e) {
- }
helper.getWritableDatabase();
profileHelper.getWritableDatabase();