mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 13:23:58 +01:00
Add TODO
This commit is contained in:
parent
443acab313
commit
4e056a412f
2 changed files with 3 additions and 3 deletions
|
|
@ -74,6 +74,4 @@ class DirectUpload {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO: Need to call onActivityResult() to handle the image picked
|
|
||||||
//TODO: Handle onRequestPermissionsResult
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -398,12 +398,14 @@ public class NearbyMapFragment extends android.support.v4.app.Fragment {
|
||||||
DirectUpload directUpload = new DirectUpload(place.getName(), place.getLongDescription(), this, controller);
|
DirectUpload directUpload = new DirectUpload(place.getName(), place.getLongDescription(), this, controller);
|
||||||
directUpload.storeSharedPrefs();
|
directUpload.storeSharedPrefs();
|
||||||
directUpload.initiateGalleryUpload();
|
directUpload.initiateGalleryUpload();
|
||||||
|
|
||||||
|
//TODO: App crashes after image upload completes
|
||||||
|
//TODO: Handle onRequestPermissionsResult
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onActivityResult(int requestCode, int resultCode, Intent data) {
|
public void onActivityResult(int requestCode, int resultCode, Intent data) {
|
||||||
//FIXME: must get the file data for Google Photos when receive the intent answer, in the onActivityResult method
|
|
||||||
super.onActivityResult(requestCode, resultCode, data);
|
super.onActivityResult(requestCode, resultCode, data);
|
||||||
|
|
||||||
if (resultCode == RESULT_OK) {
|
if (resultCode == RESULT_OK) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue