Commit Graph

  • 0e623ebfeb Fix a memory leak that was observed each time a recording session was stopped. Bartlomiej Niechwiej 2010-11-21 23:49:17 -08:00
  • ffb73569e9 Merging Bart's fixes. Rodrigo Damazio 2010-11-21 21:11:35 -08:00
  • 713cda9455 Addressed Rodrigo's comment. Bartlomiej Niechwiej 2010-11-21 21:07:59 -08:00
  • 223721cca8 Nullify bineder/checkListener on destroy. Bartlomiej Niechwiej 2010-11-21 20:55:44 -08:00
  • e7479c8a93 Fixing periodic task restarting. Rodrigo Damazio 2010-11-21 20:45:25 -08:00
  • 224fe0069b Make sure there is only one instance of TrackRecordingService at a time. Bartlomiej Niechwiej 2010-11-21 19:33:14 -08:00
  • cb97847392 Addressing comments from a475cd4d33. Rodrigo Damazio 2010-11-21 00:44:34 -08:00
  • 6a29531467 Second attempt at proper task startup. Rodrigo Damazio 2010-11-20 16:21:59 -08:00
  • 262e249d2c Also fixing splitter initialization, just for completeness. Rodrigo Damazio 2010-11-20 05:46:38 -08:00
  • 77479efaef Fixing TTS initialization. Rodrigo Damazio 2010-11-20 05:43:09 -08:00
  • 898863a8d9 Merging Sandor's second head by ignoring it Rodrigo Damazio 2010-11-19 18:37:27 -08:00
  • 05d555f98d Fix the end track confirmation dialog. Sandor Dornbush 2010-11-19 17:23:27 -08:00
  • 868092db10 Fixing intiialization before context is available. Rodrigo Damazio 2010-11-19 14:26:11 -08:00
  • 7a738c2eca Moving the end recording method to more reasonable location. Rodrigo Damazio 2010-11-18 17:14:56 -08:00
  • b304dbcba6 Fixing wake lock being held for too long in the service. Rodrigo Damazio 2010-11-18 17:13:20 -08:00
  • 6e28a5daa4 Merging Matthew's fix for issue 137. Rodrigo Damazio 2010-11-18 16:41:21 -08:00
  • 8f4f9660ed Addressed Sandor's comments. Bartlomiej Niechwiej 2010-11-18 15:42:02 -08:00
  • 2d01535651 Fixed a NPE introduced after refactoring dialogManager. Bartlomiej Niechwiej 2010-11-17 22:39:50 -08:00
  • e57d4669fc Revert API key changes. Bartlomiej Niechwiej 2010-11-17 22:25:20 -08:00
  • f47c599dea Merge with 63eb7915dafe329e8f06cc33c56122ee15ea6df7 Bartlomiej Niechwiej 2010-11-17 22:20:15 -08:00
  • 7a693a90f7 Make the app single process only, including the following fixes: 1) Simplify SharedPreferences management 2) Shut down signalManager/splitManager to avoid random crashes 3) Get rid of sharedPreferencesChanged from the service interface Bartlomiej Niechwiej 2010-11-17 22:18:50 -08:00
  • 9cf51de3f7 Fix a typo in onDestroy. Bartlomiej Niechwiej 2010-11-17 20:07:34 -08:00
  • 5089c20cd6 Code review fixes Matthew Simmons 2010-11-16 11:39:08 -05:00
  • a0da23f86a Various fixes to shared preferences. Bartlomiej Niechwiej 2010-11-15 23:09:18 -08:00
  • 44d24b57c6 Making telephony support optional. Rodrigo Damazio 2010-11-15 22:04:48 -08:00
  • c143d774d4 Merging Aaron's changes. Rodrigo Damazio 2010-11-15 21:50:46 -08:00
  • 9e92240dd0 More self-review Matthew Simmons 2010-11-15 21:46:19 -05:00
  • d2c586b096 Fix StatusAnnouncer thread for initialization and prefs in service. Sandor Dornbush 2010-11-15 18:20:10 -08:00
  • fbfbb9408a Self-review Matthew Simmons 2010-11-15 18:46:23 -05:00
  • fb56665dec Rework authorization failure retry. The retry needs to be synchronous with the original runone. Matthew Simmons 2010-11-15 18:37:42 -05:00
  • 5b65c216b6 More tests. Bartlomiej Niechwiej 2010-11-12 22:18:38 -08:00
  • 9ad98c5970 Merging Sandor's changes Rodrigo Damazio 2010-11-12 14:37:04 -08:00
  • cae9d0f2e5 updated MyTracks/AndroidManifest.xml for inclusion of uses-feature Aaron Brown 2010-11-12 17:11:56 +10:00
  • c0d267c63e Minor formating fixes. Sandor Dornbush 2010-11-11 21:41:39 -08:00
  • 70704b0a5e Move navcontrols icon decleration to xml. Sandor Dornbush 2010-11-11 21:38:24 -08:00
  • b135275201 Minor fix for dialog manager. Sandor Dornbush 2010-11-11 16:15:11 -08:00
  • 7e1eae6681 Addressed Sandor's comments and added more unit tests and fixed 2 NPEs. Bartlomiej Niechwiej 2010-11-11 10:55:15 -08:00
  • 30f5d6dc85 Fix two NPEs and add more test coverage. Bartlomiej Niechwiej 2010-11-11 00:31:56 -08:00
  • a50dd1168b Fix format error. Sandor Dornbush 2010-11-09 13:57:19 -08:00
  • 62fa1620aa Actually add the dialog tests. Sandor Dornbush 2010-11-08 11:31:14 -08:00
  • a0d42c8b59 Add basic tests to the DialogManager. Sandor Dornbush 2010-11-08 11:28:39 -08:00
  • a21663da61 Fix a NPE (replace MyTracks.getInstance() with the parent activity). Bartlomiej Niechwiej 2010-11-06 23:37:14 -07:00
  • 67a0382942 Fixed another bug reported by users (division by zero). Bartlomiej Niechwiej 2010-11-06 00:31:52 -07:00
  • f5c2467d01 Fix StringIndexOutOfBoundsException in ChartsExtendedEncoder.getEncodedValue(). Bartlomiej Niechwiej 2010-11-05 22:52:42 -07:00
  • a3abcc8094 Provide a workaround for binding to the service once it has been started. It fixes the failing tests (4). Bartlomiej Niechwiej 2010-11-05 20:45:06 -07:00
  • edf439f301 Merge Bart's bug fixes and tests. Sandor Dornbush 2010-11-05 15:37:20 -07:00
  • 2245563250 Fix broken build. Sandor Dornbush 2010-11-05 14:51:06 -07:00
  • bca21d5515 Addressed Rodrigo's comments. Bartlomiej Niechwiej 2010-11-05 10:11:55 -07:00
  • 89cae2e7c9 Fix a regression related refactoring recordingTrackId management. Bartlomiej Niechwiej 2010-11-04 23:32:31 -07:00
  • 26c381a4c4 Address Bart's comments and more dialog clean up. Sandor Dornbush 2010-11-04 17:44:08 -07:00
  • 4bc5aa050c Add tests for the TempFileCleaner. Sandor Dornbush 2010-11-04 17:07:59 -07:00
  • cd44b0d180 Merging Sandor's changes. Rodrigo Damazio 2010-11-03 21:08:50 -02:00
  • 59ee91ca5d Merging my own changes. Rodrigo Damazio 2010-11-03 20:59:32 -02:00
  • 59165a7033 Ignoring Matthew's second head by no-op merging it. Rodrigo Damazio 2010-11-03 20:53:50 -02:00
  • 93d242c05f Merging Matthew's first head. Rodrigo Damazio 2010-11-03 20:42:35 -02:00
  • 4bbb6591e3 Merging Bart's changes. Rodrigo Damazio 2010-11-03 19:59:35 -02:00
  • 7df8025f6a Merge with head and address comments. Sandor Dornbush 2010-11-03 12:53:12 -07:00
  • f19c52f40e Addressed Sandor's comments. Bartlomiej Niechwiej 2010-11-02 08:31:21 -07:00
  • b7840779fe Revert API Key Change. Bartlomiej Niechwiej 2010-11-02 08:26:31 -07:00
  • 28042a8cc9 Adding tests to voice announcements. If anyone asks, I didn't write this code. Rodrigo Damazio 2010-11-02 02:19:43 -02:00
  • b2907226bf Code review comments Matthew Simmons 2010-11-01 15:21:33 -04:00
  • a2f46821f5 Fix author line Matthew Simmons 2010-11-01 14:32:19 -04:00
  • b7385cd4cc Combine b2f2f9e9e9 and 8774b3663c Allow users to choose the default track name policy. By default, we'll switch to a new, timestamp-based name. If they change the pref, they'll get the old-style 'track n' style. Matthew Simmons 2010-11-01 13:48:33 -04:00
  • 718c65818c Allow users to choose the track name policy. Matthew Simmons 2010-11-01 12:59:56 -04:00
  • 91e2293606 Adding proper AndroidMock configuration - requires setting eclipse variables Rodrigo Damazio 2010-11-01 05:30:16 -02:00
  • 3c4a921f9a Addressing review suggestions Rodrigo Damazio 2010-11-01 05:27:04 -02:00
  • d04b333126 Merging Rodrigo Damazio 2010-11-01 02:05:42 -02:00
  • 0a4bef4d9a Fixing concurrent access to the content provider by making it have a single instance in the same process as the service. Rodrigo Damazio 2010-10-29 17:35:54 -02:00
  • a0f090a83a Bug fixing and refactoring: 1) Make sure no one but service changes recordingTrackId (which is owned by it) 2) Cache sharedPreferences 3) Clear recordingTrackId if it doesn't correspond to a valid track or the service is not recording 4) More unit tests Bartlomiej Niechwiej 2010-10-28 22:49:01 -07:00
  • dc8ee5943c Merge with c10bc69662325f00bf166b783cc3ab1b78ccfed9 Bartlomiej Niechwiej 2010-10-28 20:48:01 -07:00
  • 9132c36aa7 Use a test android:apiKey instead of the official one. Bartlomiej Niechwiej 2010-10-28 20:47:42 -07:00
  • 224c0d759f Minor fixes noticed on first review. Sandor Dornbush 2010-10-28 17:13:59 -07:00
  • ffcaca2db1 Refactor a few 100 lines of code out of the main Activity. Sandor Dornbush 2010-10-28 17:08:59 -07:00
  • 409fc4a43b Address Bart's comments. Sandor Dornbush 2010-10-28 15:07:01 -07:00
  • 16968f3f2b Fix copyright notice. Sandor Dornbush 2010-10-28 14:50:03 -07:00
  • e3fd0dce21 Undo changes to the eclipse prefs. Sandor Dornbush 2010-10-28 14:47:00 -07:00
  • 53b6b6deca Add tests to ChartValueSeries. Also other minor fixes. Sandor Dornbush 2010-10-28 14:43:31 -07:00
  • 26f47a50d0 Fixing issue 34: Not making voice announcements during a phone call Rodrigo Damazio 2010-10-27 03:07:17 -02:00
  • 3cf77374c4 Fix merge. Bartlomiej Niechwiej 2010-10-26 20:19:54 -07:00
  • a1129c3f0f Merge with c58e4b8519d3ed6959a96192286b83aa1b77f6f3 Bartlomiej Niechwiej 2010-10-26 20:17:15 -07:00
  • 2fe74603a3 Merge with 96ee47b2d8639a0cf62a387f3360640643fbeb0a Bartlomiej Niechwiej 2010-10-26 20:14:41 -07:00
  • 54d517363d Merge with e34329d612571554d6424d5941dfad57e35612a0 Bartlomiej Niechwiej 2010-10-26 19:39:46 -07:00
  • 948fe0c0e6 Merge with 68eb8dff3a87698ace057447dff40a07cf673f2e Bartlomiej Niechwiej 2010-10-26 19:39:20 -07:00
  • dbd8e6c0e9 Merge with 5ed61c63ba59f4748231ea14bbbc222423d0b08a Bartlomiej Niechwiej 2010-10-26 19:38:51 -07:00
  • 02b5601933 Remove unnecessary log. Bartlomiej Niechwiej 2010-10-26 19:32:24 -07:00
  • 3ed40608a2 Merging from head. Sandor Dornbush 2010-10-26 14:44:31 -07:00
  • 36d7c2dd91 Allow to move the app to SD card (by default goes to internal storage). This is a frequently requested feature (based on market feedback). Bartlomiej Niechwiej 2010-10-26 00:33:38 -07:00
  • fa7ef68851 Addressed Sandor's comments. Bartlomiej Niechwiej 2010-10-25 22:35:38 -07:00
  • f84877a4fc Issue 86: Remove - from the list of disallowed characters for filenames. Matthew Simmons 2010-10-25 14:59:20 -04:00
  • 261fb62e24 Changed the default new track name from "track %d" to "date time", where "date" is a short, locale-aware version of the track's start date, and "time" is the track's start time. Matthew Simmons 2010-10-25 14:15:16 -04:00
  • 48d8aa4cd8 Introduce an interface to decouple platform specific API from the classes that require it. Also: 1) Put the service into foreground to prevent from being killed by the system 2) Fix a bug the prevented MyTracks from running on pre-Eclair devices Bartlomiej Niechwiej 2010-10-24 21:24:11 -07:00
  • 95ff0d3db6 Fix a typo in shared preferences and minor cleanup. Bartlomiej Niechwiej 2010-10-24 18:55:35 -07:00
  • 2dc1d914c0 Several fixes to the service and more test coverage. Bartlomiej Niechwiej 2010-10-24 14:16:43 -07:00
  • fc06701009 Fix several bugs and clean up statistics management. 1) Decouple clock from TripStatisticsBuilder. 2) Introduce a new param to constructor to automatically resume at given time 3) Fix various statsbuilder initialization issues in the service (wrong order, missing initialization) Bartlomiej Niechwiej 2010-10-24 03:30:58 -07:00
  • ee4f334296 Fixed a NPE under certain circumstances (move initialization to onCreate()). Bartlomiej Niechwiej 2010-10-24 03:26:32 -07:00
  • cac2395237 More unit tests for TracksRecordingService and fix a few bugs. Made the service less forgiving rather than silently ignoring invalid state. Bartlomiej Niechwiej 2010-10-24 00:48:53 -07:00
  • 5afc3f13cf Minor refactoring: remove dependency on Context and replace it with ContentResolver. Bartlomiej Niechwiej 2010-10-23 19:04:57 -07:00
  • 9030917c14 Merging Bart's changes. Rodrigo Damazio 2010-10-22 15:34:24 -02:00
  • 9905def352 Terminate tracker update thread on destroy. Bartlomiej Niechwiej 2010-10-22 10:14:36 -07:00
  • a3793aa92b Minor updates. Bartlomiej Niechwiej 2010-10-22 10:00:15 -07:00