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

[TIMOB-8484] Ignore orientation if we are not the keywindow #1991

Merged
merged 2 commits into from Apr 14, 2012
Merged

[TIMOB-8484] Ignore orientation if we are not the keywindow #1991

merged 2 commits into from Apr 14, 2012

Conversation

vishalduggal
Copy link
Contributor

Test is in JIRA

Will need to test on device

@@ -178,6 +178,11 @@ -(void)initController
[window makeKeyAndVisible];
}

-(BOOL)windowIsKeyWindow:(UIWindow*)window_
{
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be faster if the function returned [window isKeyWindow]. This also removes the need of an argument.

@WhichKatieDid
Copy link
Contributor

Code would functionally work, but can be optimized and streamlined.

@WhichKatieDid
Copy link
Contributor

CR and FR passed. Pushing button.

WhichKatieDid added a commit that referenced this pull request Apr 14, 2012
[TIMOB-8484] Ignore orientation if we are not the keywindow
@WhichKatieDid WhichKatieDid merged commit 2d47f50 into tidev:master Apr 14, 2012
@vishalduggal vishalduggal deleted the timob-8484 branch October 27, 2014 19:21
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