Revert "Initialize mDatabase on provider startup"
This reverts commit 33f3b0c1d5
Change-Id: Ia56d67f49b3b5d7569791d9d556e2f7eed13ee7d
This commit is contained in:
parent
33f3b0c1d5
commit
fcba7fa20a
@ -1046,10 +1046,7 @@ public class EmailProvider extends ContentProvider {
|
||||
@Override
|
||||
public boolean onCreate() {
|
||||
Context context = getContext();
|
||||
// Initialize Uri's used throughout the app
|
||||
EmailContent.init(context);
|
||||
// Open our database(s)
|
||||
getDatabase(context);
|
||||
if (INTEGRITY_CHECK_URI == null) {
|
||||
INTEGRITY_CHECK_URI = Uri.parse("content://" + EmailContent.AUTHORITY +
|
||||
"/integrityCheck");
|
||||
|
Loading…
Reference in New Issue
Block a user