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(android): prevents TabGroup duplicate close event firing #11062

Merged
merged 1 commit into from
Sep 9, 2019

Conversation

ypbnv
Copy link
Contributor

@ypbnv ypbnv commented Jul 19, 2019

JIRA: https://jira.appcelerator.org/browse/TIMOB-27118

Description:
Removes a redundant firing of a close event in the handleClose method of TabGroup.
Note: I am not really sure if it should modify the unit test to listen for only one close event. What do you think?

Test case:
There is a good sample code in the JIRA ticket.

@ypbnv ypbnv added this to the 8.2.0 milestone Jul 19, 2019
@ypbnv ypbnv requested a review from garymathews July 19, 2019 14:18
@build build requested a review from a team July 19, 2019 14:39
@build
Copy link
Contributor

build commented Jul 19, 2019

Messages
📖 👍 Hey!, You deleted more code than you added. That's awesome!
📖

💾 Here's the generated SDK zipfile.

📖

✅ All tests are passing
Nice one! All 3725 tests are passing.
(There are 468 tests skipped)

📖 ✊ The commits in this PR match our conventions! Feel free to Rebase and Merge this PR when ready.

Generated by 🚫 dangerJS against f2e94af

Copy link
Contributor

@jquick-axway jquick-axway left a comment

Choose a reason for hiding this comment

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

CR: Pass

@keerthi1032
Copy link
Contributor

FR passed. Tab group close event fired only once. works as expected.

Test Environment:
Operating System
Name = Mac OS X
Version = 10.14.5
Architecture = 64bit
Node.js
Node.js Version = 10.16.0
npm Version = 6.9.0
Titanium CLI
CLI Version = 5.2.1
Titanium SDK
SDK Version = local sdk 8.2.0.v20190719072111
Cli =7.1.0-24
Studio =5.1.3.201907112159
Device -Samsung s5 android 6,oneplus 5T android 9
Emulator = nexus 6p android 7,pixel xl android 9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants