Repository navigation
Move to compile target Marshmallow (Android 6 - v23) - rebased without FAB - #1473
Conversation
…ion in build processes
…ne for Android M compatibility @ compile target)
|
Checking updated documentation about GET_ACCOUNTS permissions, maybe we don't need to add the permission check for it: http://developer.android.com/intl/es/reference/android/Manifest.permission.html#GET_ACCOUNTS_PRIVILEGED In any case, still needs to be in the manifest for Android <=5.1 |
|
Tested: there is no need to check in runtime the if GET_ACCOUNTS is granted or not; since the app only uses its own accounts, the permissions is not really required from Android 6. If was really needed, the line https://github.com/owncloud/android/blob/master/src/com/owncloud/android/authentication/AccountUtils.java#L88 would be failing when the app has no permission on CONTACTS group, and that's not happening. |
|
@davivel thanks for the rebase, great collaboration! Again! 👍 Remarks:
Any discussion about this PR (and screenshots) can be found here: #1343 |
… permissions behaviour for API level >= 23 in AndroidManifest.xml
|
Thanks a lot, @AndyScherzinger . No sorry for the tiny commits, pal. Anyway, if you want a challenge, next time you don't like to have so many tiny commits in a row, you can try to squash them. See a couple of references: http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html , https://ariejan.net/2011/07/05/git-squash-your-latests-commits-into-one/ . About testing in real devices, we have what we need here to test Android 6. About the permissions handling, I agree that your solution should be enough for the moment, at least to the point that we can test and close #1401. This PR fixes it, as you commented there. I'll have a look to #1343. Adding some more checks of WRITE_EXTERNAL_STORAGE in FileDownloader and FileUploader could be interesting. In any case, that shouldn't block this PR. |
|
Oh, and I added some comments in AndroidManifest.xml about the permissions, if you are interested. @jesmrec , I think testing on #1401 could be started. @masensio , @malkomich , I made some extra changes by my own, other code review could be convenient. @AndyScherzinger , your comments, of course, are also welcome :) |
|
Looks good to me 👍 |
|
@malkomich how does this look to you? |
|
Code reviewed 👍 |
Move to compile target Marshmallow (Android 6 - v23) - rebased without FAB
This Branch is not based on material_fab.
Works for gradle and ant.
What has been done so far: