mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Remove dead code
This commit is contained in:
parent
d53a8e6f89
commit
ba76b5fe0f
1 changed files with 0 additions and 9 deletions
|
|
@ -114,15 +114,6 @@ public class UploadService extends IntentService {
|
||||||
contributionsProviderClient = this.getContentResolver().acquireContentProviderClient(ContributionsContentProvider.AUTHORITY);
|
contributionsProviderClient = this.getContentResolver().acquireContentProviderClient(ContributionsContentProvider.AUTHORITY);
|
||||||
}
|
}
|
||||||
|
|
||||||
private String getRealPathFromURI(Uri contentUri) {
|
|
||||||
String[] proj = {MediaStore.Images.Media.DATA};
|
|
||||||
CursorLoader loader = new CursorLoader(this, contentUri, proj, null, null, null);
|
|
||||||
Cursor cursor = loader.loadInBackground();
|
|
||||||
int column_index = cursor.getColumnIndexOrThrow(MediaStore.Images.Media.DATA);
|
|
||||||
cursor.moveToFirst();
|
|
||||||
return cursor.getString(column_index);
|
|
||||||
}
|
|
||||||
|
|
||||||
private long countBytes(InputStream stream) throws IOException {
|
private long countBytes(InputStream stream) throws IOException {
|
||||||
long count = 0;
|
long count = 0;
|
||||||
BufferedInputStream bis = new BufferedInputStream(stream);
|
BufferedInputStream bis = new BufferedInputStream(stream);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue