1. Rene Peinthor
  2. BlueMouse

Commits

Rene Peinthor  committed dd4ceac

add comment

  • Participants
  • Parent commits f89e29f
  • Branches default

Comments (0)

Files changed (1)

File src/com/oldsch00l/BlueMouse/BlueMouse.java

View file
  • Ignore whitespace
 		@Override
 		public void run() {
 			byte[] msg = null;
+			// if GPS provider isn't enabled and 
+			// we don't have an update from the NMEA listener
+			// create our own GGA sentence from the current location
+			// if available
 			if(!mLocationManager.isProviderEnabled(LocationManager.GPS_PROVIDER) ||
 					mCurGGAString == null) {
 				if(mCurLocation != null) {
 		@Override
 		public void run() {
 			byte[] msg = null;
+			// if GPS provider isn't enabled and 
+			// we don't have an update from the NMEA listener
+			// create our own RMC sentence from the current location
+			// if available
 			if(!mLocationManager.isProviderEnabled(LocationManager.GPS_PROVIDER) ||
 					mCurRMCString == null) {
 				if(mCurLocation != null) {