Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiselect functionalty targeting https://github.com/owncloud/android/issues/596 #718

Merged
merged 7 commits into from
Dec 19, 2014

Conversation

Pro9
Copy link
Contributor

@Pro9 Pro9 commented Nov 11, 2014

Multiselect functionality only works on api level 18+ and on applications that has included that functionality. As pointed out in the issue it may not be clear for the user why it works in some applications and not in others, but until you have decided how to handle that this code adds multiselect for apps that support it. (multiselect has been tested on Google+ Photos app)

Pro9 and others added 4 commits November 5, 2014 14:51
1. allows multiselect during upload for select applications
2. Added an api check, multiselect is only supported on api level 18+
requestSimpleUpload(data, resultCode);

//getClipData is only supported on api level 16+
if (data.getData() == null && Build.VERSION.SDK_INT >= 16){
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In other occasion, just for clarifying, maybe it is better to use: Build.VERSION_CODES.JELLY_BEAN

@Pro9
Copy link
Contributor Author

Pro9 commented Dec 2, 2014

@jabarros , the code has been updated so it has the build version instead of an int representing the api level. We also merged with the latest develop. But Travis CI is for some reason complaining now, I'll see if I can figure out why.

@jabarros
Copy link
Contributor

jabarros commented Dec 2, 2014

Thanks @Pro9! :)
I am just seeing that now, after your merge, appears commits and changes in this PR that shouldn't. Maybe your state of owncloud/develop was not updated with last changes when you did the merge. Please, could you check and update your branch with the latest owncloud develop branch?

@Pro9
Copy link
Contributor Author

Pro9 commented Dec 3, 2014

I have no idea why it doesn't build in the pull request, this is the same code and it builds: https://travis-ci.org/owncloudChalmers/android/builds/42838339

@davivel
Copy link
Contributor

davivel commented Dec 3, 2014

Please, merge develop again. There is some problem with the building via Gradle in Travis, so we removed it for the moment from .travis.yml.

@rperezb rperezb added this to the 2014-sprint-06-next milestone Dec 4, 2014
@Pro9
Copy link
Contributor Author

Pro9 commented Dec 5, 2014

@davivel I merged it again and travis passed

@purigarcia
Copy link
Contributor

@Pro9, there is a bug using android v.5.0.
Could you fixed?

It would be great if you also update the branch with develop, because there are some new features.
Thanks

@Pro9
Copy link
Contributor Author

Pro9 commented Dec 12, 2014

Hi @purigarcia I'm unable to find the bug in android v.5.0, It works for me. What exactly is it that isn't working?

@purigarcia
Copy link
Contributor

Hi @Pro9 , Files are not uploaded, a notification "upload fails" is shown
You are right, I checked and using a mobile it works, but not when using a tablet.
I update the bug to point that

@purigarcia
Copy link
Contributor

Hi @Pro9, in the end this is not related to your contribution. We kept on validating it

@davivel
Copy link
Contributor

davivel commented Dec 19, 2014

👍

Merging. Thanks, @Pro9

davivel added a commit that referenced this pull request Dec 19, 2014
Multiselect functionalty targeting #596
@davivel davivel merged commit 981d458 into owncloud:develop Dec 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants