diff --git a/src/com/android/email/data/NoAutoRequeryCursorLoader.java b/src/com/android/email/data/NoAutoRequeryCursorLoader.java deleted file mode 100644 index e1e024246..000000000 --- a/src/com/android/email/data/NoAutoRequeryCursorLoader.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright (C) 2010 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.android.email.data; - -import android.content.Context; -import android.content.CursorLoader; -import android.net.Uri; - -/** - * Same as {@link CursorLoader} but it doesn't do auto-requery when it gets content-changed - * notifications. - */ -public class NoAutoRequeryCursorLoader extends CursorLoader { - public NoAutoRequeryCursorLoader(Context context, Uri uri, String[] projection, - String selection, String[] selectionArgs, String sortOrder) { - super(context, uri, projection, selection, selectionArgs, sortOrder); - } - - @Override - public void onContentChanged() { - // Don't reload. - } -} diff --git a/src/com/android/email/mail/NoSuchProviderException.java b/src/com/android/email/mail/NoSuchProviderException.java deleted file mode 100644 index c0846cdc8..000000000 --- a/src/com/android/email/mail/NoSuchProviderException.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (C) 2008 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.android.email.mail; - -import com.android.emailcommon.mail.MessagingException; - -public class NoSuchProviderException extends MessagingException { - public static final long serialVersionUID = -1; - - public NoSuchProviderException(String message) { - super(message); - } - - public NoSuchProviderException(String message, Throwable throwable) { - super(message, throwable); - } -}