From c0a425027b4d01262bd85f73a5212179b4418b16 Mon Sep 17 00:00:00 2001 From: Marc Blank Date: Wed, 5 Sep 2012 13:41:07 -0700 Subject: [PATCH] Revert "Initialize mDatabase on provider startup" This reverts commit 6c319d78edc52cd4a6d2f53277d2e1cef1afc5bc Change-Id: I57881b090a3c7efba79369702356b622d9a7aba8 --- src/com/android/email/provider/EmailProvider.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/com/android/email/provider/EmailProvider.java b/src/com/android/email/provider/EmailProvider.java index d72311576..7cc62141a 100644 --- a/src/com/android/email/provider/EmailProvider.java +++ b/src/com/android/email/provider/EmailProvider.java @@ -1046,7 +1046,6 @@ public class EmailProvider extends ContentProvider { @Override public boolean onCreate() { Context context = getContext(); - // Initialize Uri's used throughout the app EmailContent.init(context); if (INTEGRITY_CHECK_URI == null) { INTEGRITY_CHECK_URI = Uri.parse("content://" + EmailContent.AUTHORITY + @@ -1185,8 +1184,6 @@ public class EmailProvider extends ContentProvider { matcher.addURI(EmailContent.AUTHORITY, "pickTrashFolder/#", ACCOUNT_PICK_TRASH_FOLDER); matcher.addURI(EmailContent.AUTHORITY, "pickSentFolder/#", ACCOUNT_PICK_SENT_FOLDER); } - // Open our database(s) - getDatabase(context); return false; }