You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2016/09/09 23:22:07 UTC
[2/9] cordova-plugin-device-orientation git commit: remove quirk code
remove quirk code
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/commit/11135f78
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/tree/11135f78
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/diff/11135f78
Branch: refs/heads/1.0.x
Commit: 11135f7869134d505c1201ff825f60bd89a6e51e
Parents: 875b55e
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Fri Apr 22 15:17:02 2016 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Fri Apr 22 15:17:02 2016 -0700
----------------------------------------------------------------------
src/ios/CDVCompass.m | 2 --
1 file changed, 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-device-orientation/blob/11135f78/src/ios/CDVCompass.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVCompass.m b/src/ios/CDVCompass.m
index ebe6b60..86c4ed7 100644
--- a/src/ios/CDVCompass.m
+++ b/src/ios/CDVCompass.m
@@ -198,8 +198,6 @@
// helper method to check the orientation and start updating headings
- (void)startHeadingWithFilter:(CLLocationDegrees)filter
{
- // FYI UIDeviceOrientation and CLDeviceOrientation enums are currently the same
- self.locationManager.headingOrientation = (CLDeviceOrientation)self.viewController.interfaceOrientation;
self.locationManager.headingFilter = filter;
[self.locationManager startUpdatingHeading];
self.headingData.headingStatus = HEADINGSTARTING;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org