Skip to content

Multi-Window support added for android N - #1744

Closed
imGurpreetSK wants to merge 6 commits into
owncloud:masterfrom
imGurpreetSK:ChangesForAndroidN
Closed

imGurpreetSK wants to merge 6 commits into
owncloud:masterfrom
imGurpreetSK:ChangesForAndroidN

Conversation

@imGurpreetSK

Copy link
Copy Markdown
Contributor

device-2016-07-20-155248

@mention-bot

Copy link
Copy Markdown

@GurpreetSK95, thanks for your PR! By analyzing the annotation information on this pull request, we identified @AndyScherzinger, @davivel and @MMMarcy to be potential reviewers

@ghost

ghost commented Jul 20, 2016

Copy link
Copy Markdown

@GurpreetSK95

Thanks a lot for your contribution!
Contributions to the core repo require a signed contributors agreement http://owncloud.org/about/contributor-agreement/

Alternatively you can add a comment here where you state that this contribution is MIT licensed.

Some more details about out pull request workflow can be found here: http://owncloud.org/code-reviews-on-github/

@AndyScherzinger

AndyScherzinger commented Jul 20, 2016 •

Copy link
Copy Markdown
Contributor

Hi @GurpreetSK95 thank you for your contribution, can you also update the travis build configuration since the update to 24 breaks the actual builds (https://travis-ci.org/owncloud/android/builds/146066120) since the build config needs to be updated too 😃

-made changes to .travis.yml
@imGurpreetSK

Copy link
Copy Markdown
Contributor Author

Hi @AndyScherzinger and thanks for the inputs. I've made the changes to .travis.yml file and hope the request passes the checks this time. Regards.

@AndyScherzinger

AndyScherzinger commented Jul 20, 2016 •

Copy link
Copy Markdown
Contributor

Hi @GurpreetSK95 unfortunately it doesn't :(

--> Error: Invalid --abi armeabi-v7a for the selected target.
--> see: https://travis-ci.org/owncloud/android/builds/146159491

@imGurpreetSK

Copy link
Copy Markdown
Contributor Author

Sorry for that @AndyScherzinger. I wanted to ask whether the java version "1.7.0_76" might be causing some issue, as android N requires java version "1.8.0_91"

@AndyScherzinger

Copy link
Copy Markdown
Contributor

Hi @GurpreetSK95
I am not sure if that might also cause some issues down the road in the build. Right now it fails right at the start since the referenced device/image can't be found.

@ghost

ghost commented Jul 20, 2016

Copy link
Copy Markdown

@GurpreetSK95

Thanks a lot for your contribution!
Contributions to the core repo require a signed contributors agreement http://owncloud.org/about/contributor-agreement/

Alternatively you can add a comment here where you state that this contribution is MIT licensed.

Some more details about out pull request workflow can be found here: http://owncloud.org/code-reviews-on-github/

- changes to .travis.yml, updated buildTools and java versions
Comment thread build.gradle
testInstrumentationRunnerArgument "TEST_SERVER_URL", "\"$System.env.OCTEST_SERVER_BASE_URL\""

jackOptions {
enabled true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What is this for?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Oh, the new Java compiler. This is strictly needed, if build breaks due to it we could remove it (but that's not happenning right now) . ReferencE: https://developer.android.com/preview/setup-sdk.html#get-as13

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hi @davivel. This was added as the compiler was giving an error "Error:Jack is required to support java 8 language features. Either enable Jack or remove sourceCompatibility JavaVersion.VERSION_1_8". More here.

@davivel

davivel commented Jul 21, 2016

Copy link
Copy Markdown
Contributor

Hi, @GurpreetSK95 ; thanks a lot for your contribution :)

Try to add

jdk:
  - oraclejdk8

right before the android: line in travis.yml to get a JDK 1.8 environment in the build.

I'll have a look to see what emulator image can be used instead of the one failing now.

Meanwhile, could you sign the contributor agreement in https://owncloud.org/contribute/agreement/ and send it to [email protected]?

Thanks!

@davivel

davivel commented Jul 21, 2016

Copy link
Copy Markdown
Contributor

Oh, the emulator image is downloading correctly, no problem with that.

But the ownCloud library for Android is not updated to android-24, that's making the build fail. You'll need to do a new PR to https://github.com/owncloud/android-library updating it's build options, and then add a commit here to update the reference to the library.

@davivel davivel added this to the 2.2.0 milestone Jul 21, 2016
@ghost

ghost commented Jul 21, 2016

Copy link
Copy Markdown

@GurpreetSK95

Thanks a lot for your contribution!
Contributions to the core repo require a signed contributors agreement http://owncloud.org/about/contributor-agreement/

Alternatively you can add a comment here where you state that this contribution is MIT licensed.

Some more details about out pull request workflow can be found here: http://owncloud.org/code-reviews-on-github/

@davivel

davivel commented Aug 12, 2016

Copy link
Copy Markdown
Contributor

Hi, @GurpreetSK95 . Now we can resume the work here.

3 things left:

  • sign licence/cla
  • rebase GurpreetSK95:ChangesForAndroidN on owncloud:master
  • update reference of submodule owncloud-android-library so that it points to `owncloud/android-library:master``

For the rebase, you need enter the root folder of the local copy of your fork and apply:

git fetch upstream
git checkout ChangesForAndroidN
git rebase upstream/master
git push -f origin ChangesForAndroidN

Then, for the third point follow with:

git checkout ChangesForAndroidN
cd owncloud-android-library
git checkout master
git pull
cd ..
git add .
git commit -m "Updated reference to OC library"
git push origin ChangesForAndroidN

Ping me if anything goes wrong.

@davivel

davivel commented Aug 17, 2016

Copy link
Copy Markdown
Contributor

@GurpreetSK95 , if you don't mind I will rebase by myself.

@davivel

davivel commented Aug 17, 2016

Copy link
Copy Markdown
Contributor

Closing to rebase in a branch in this repo...

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.

4 participants