mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Fixme added
This commit is contained in:
parent
895e386648
commit
f42bc80f2f
2 changed files with 3 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ public abstract class HandlerService<T> extends Service {
|
|||
|
||||
@Override
|
||||
public void handleMessage(Message msg) {
|
||||
//FIXME: Google Photos bug
|
||||
handle(msg.what, (T)msg.obj);
|
||||
stopSelf(msg.arg1);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -111,6 +111,7 @@ public class UploadService extends HandlerService<Contribution> {
|
|||
protected void handle(int what, Contribution contribution) {
|
||||
switch(what) {
|
||||
case ACTION_UPLOAD_FILE:
|
||||
//FIXME: Google Photos bug
|
||||
uploadContribution(contribution);
|
||||
break;
|
||||
default:
|
||||
|
|
@ -173,6 +174,7 @@ public class UploadService extends HandlerService<Contribution> {
|
|||
String notificationTag = contribution.getLocalUri().toString();
|
||||
|
||||
try {
|
||||
//FIXME: Google Photos bug
|
||||
file = this.getContentResolver().openInputStream(contribution.getLocalUri());
|
||||
} catch(FileNotFoundException e) {
|
||||
Log.d("Exception", "File not found");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue