cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [1/2] cordova-plugin-device-orientation git commit: remove quirk code
Date Fri, 22 Apr 2016 22:55:29 GMT
Repository: cordova-plugin-device-orientation
Updated Branches:
  refs/heads/master 875b55ef6 -> 47b5c27c8


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/master
Commit: 11135f7869134d505c1201ff825f60bd89a6e51e
Parents: 875b55e
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Fri Apr 22 15:17:02 2016 -0700
Committer: Jesse MacFadyen <purplecabbage@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


Mime
View raw message