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

Fix TC-5784 - setting a view layout to null on android crashes the app #7529

Merged
merged 1 commit into from Dec 3, 2015

Conversation

xavierlacot
Copy link
Contributor

This PR fixes the bug described in the ticket TC-5784.

The TiView class constructor does not correctly check that the layout property is not null, and it crashes when calling the equals() method. This PR assumes that, when a null layout is passed, the layout will default to a composite layout (the default value).

…ring it to horizontal or vertical layout arrangements
@ashcoding
Copy link
Contributor

@xavierlacot thanks for the PR.
Moved ticket to TIMOB-20089 for review.

@ashcoding
Copy link
Contributor

Code reviewed and functionally tested. Request Accepted.

👍

ashcoding added a commit that referenced this pull request Dec 3, 2015
Fix TC-5784 - setting a view layout to null on android crashes the app
@ashcoding ashcoding merged commit 2b31604 into tidev:master Dec 3, 2015
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.

None yet

2 participants