mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Add TODO
This commit is contained in:
parent
4e971eb708
commit
1061537438
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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -413,12 +413,14 @@ public class NearbyMapFragment extends android.support.v4.app.Fragment {
|
|||
DirectUpload directUpload = new DirectUpload(place.getName(), place.getLongDescription(), this, controller);
|
||||
directUpload.storeSharedPrefs();
|
||||
directUpload.initiateGalleryUpload();
|
||||
|
||||
//TODO: App crashes after image upload completes
|
||||
//TODO: Handle onRequestPermissionsResult
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
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);
|
||||
|
||||
if (resultCode == RESULT_OK) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue