Remove Secure setting usage.
Bug: 7232230
Change-Id: Ie40bda16e24df96530c80506a74747a4b2c16cb5
diff --git a/src/com/android/providers/contacts/ContactsProvider2.java b/src/com/android/providers/contacts/ContactsProvider2.java
index d236de3..1af934c 100644
--- a/src/com/android/providers/contacts/ContactsProvider2.java
+++ b/src/com/android/providers/contacts/ContactsProvider2.java
@@ -1415,10 +1415,7 @@
mProfileHelper = mProfileProvider.getDatabaseHelper(getContext());
// Initialize the pre-authorized URI duration.
- mPreAuthorizedUriDuration = android.provider.Settings.Secure.getLong(
- getContext().getContentResolver(),
- android.provider.Settings.Secure.CONTACTS_PREAUTH_URI_EXPIRATION,
- DEFAULT_PREAUTHORIZED_URI_EXPIRATION);
+ mPreAuthorizedUriDuration = DEFAULT_PREAUTHORIZED_URI_EXPIRATION;
scheduleBackgroundTask(BACKGROUND_TASK_INITIALIZE);
scheduleBackgroundTask(BACKGROUND_TASK_UPDATE_ACCOUNTS);