FairEmail/app/src/main/java/eu/faircode/email/FileProviderEx.java

39 lines
1.3 KiB
Java
Raw Normal View History

2022-05-11 18:03:58 +00:00
package eu.faircode.email;
/*
This file is part of FairEmail.
FairEmail is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
FairEmail is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with FairEmail. If not, see <http://www.gnu.org/licenses/>.
2023-01-01 07:52:55 +00:00
Copyright 2018-2023 by Marcel Bokhorst (M66B)
2022-05-11 18:03:58 +00:00
*/
2023-01-05 20:53:22 +00:00
import android.net.Uri;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
2022-05-11 18:03:58 +00:00
import androidx.core.content.FileProvider;
public class FileProviderEx extends FileProvider {
// https://android-review.googlesource.com/c/platform/frameworks/support/+/1978527
public FileProviderEx() {
super(R.xml.fileprovider_paths);
}
2023-01-05 20:53:22 +00:00
@Override
public int delete(@NonNull Uri uri, @Nullable String selection, @Nullable String[] selectionArgs) {
throw new UnsupportedOperationException("No external updates");
}
2022-05-11 18:03:58 +00:00
}