Remove dead code
Change-Id: I66bec3975b3f028081071b9bbd26206ec369da26
This commit is contained in:
parent
5b291fe086
commit
3cfb3d5077
@ -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.
|
|
||||||
}
|
|
||||||
}
|
|
@ -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);
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user