Commit Graph

2151 Commits

Author SHA1 Message Date
Jimmy Shih cbfe96cdc5 When updating files, check the md5 checksum. 2013-02-06 13:31:54 -08:00
Jimmy Shih 14f776721c When deleting all tracks, also disable sync to Google Drive. 2013-02-06 11:01:12 -08:00
Jimmy Shih fdf37bc19d Fix eclipse warnings. 2013-02-06 10:33:14 -08:00
Jimmy Shih 04f83e77d2 Handle the case a Shared with me track can be trashed. 2013-02-06 10:16:49 -08:00
Jimmy Shih 08bcfde5c7 Add retry for SyncAdapter. 2013-02-05 17:50:35 -08:00
Jimmy Shih 49d055ce36 Add retry when sending a track to Google Drive. 2013-02-05 14:37:47 -08:00
Jimmy Shih c0ec72f66a For "Shared with me" tracks, do not allow sending to Google Drive,
do not allow sharing with Google Drive.

For Drive tracks, exclude shared tracks.
2013-02-05 13:06:10 -08:00
Jimmy Shih 69f2b18f10 Add a "Shared with me" section. 2013-02-05 10:58:49 -08:00
Jimmy Shih b5fa77a98d Do not allow editing "Shared with me" tracks.
Do not allow editing/deleting "Shared with me" markers.
2013-02-04 09:45:24 -08:00
Jimmy Shih 6559bfa8e0 Handle context menu for Shared with me tracks in
track list, search list, and marker list.
2013-02-02 14:11:08 -08:00
Jimmy Shih e53df3cff1 Update the contextual action menu to not show edit option
for "Shared with me" tracks and markers.
Also not show the delete option for markers from
"Shared with me" tracks.
2013-02-02 13:54:24 -08:00
Jimmy Shih f26a8799fa Also sync "Shared with me" KML files. 2013-02-02 13:16:04 -08:00
youtaol 0fac9767fe Merge heads 2013-02-01 13:05:31 +08:00
youtaol a1a86432d3 Change some code style. 2013-02-01 11:08:05 +08:00
Jimmy Shih ccd4398e4b Add Locale.US for all SimpleDateFormat constructor. 2013-01-31 11:22:20 -08:00
Jimmy Shih 71900213c0 Fix warnings of not closing cursors. 2013-01-31 11:02:27 -08:00
youtaol 4137b9aae9 Change SendRequestTest as the structure of SendRequest is changed. 2013-01-31 17:59:07 +08:00
youtaol 4f1026c046 Fix a few errors when run on Android API level 10 emulator. 2013-01-31 17:31:53 +08:00
youtaol 7aef17625c Make sync tests can only be run on device bound with two test accounts for sync tests can not be run in parallel. 2013-01-31 14:45:47 +08:00
youtaol 880f153ed2 Add some test cases about sync feature. 2013-01-30 21:39:15 +08:00
youtaol bfe2e21db4 Fix an error of backup and restore e2e test. 2013-01-30 18:13:20 +08:00
youtaol bc3eeb6a5c Fix an error of e2e setting test case. 2013-01-30 16:30:19 +08:00
youtaol 1d81bb526f Merge heads 2013-01-30 13:56:51 +08:00
youtaol 6afac7a4ee Change code style of sync test cases. 2013-01-30 13:54:29 +08:00
Jimmy Shih 327336ee10 When selecting a google account the first time, don't show the
confirm message.
2013-01-29 16:48:52 -08:00
Jimmy Shih 3f173d4434 Add option to share a track via Google Drive. 2013-01-29 16:40:01 -08:00
Jimmy Shih f9bd84dba0 Same the same confirmation dialog fragment for all action confirmation. 2013-01-29 15:59:31 -08:00
Jimmy Shih 707985a081 merge heads 2013-01-29 14:51:47 -08:00
Jimmy Shih 51c24d5712 revert 2013-01-29 14:49:11 -08:00
youtaol 6e0cdc7434 Merge heads 2013-01-29 21:23:35 +08:00
youtaol 4dd2bbe6af Add test cases about sync feature. 2013-01-29 21:23:13 +08:00
Jimmy Shih f009e1aa39 Update proguard for google drive api 2013-01-28 18:36:53 -08:00
Jimmy Shih 642a843397 When updating a track based on google drive changes, revert
if the google drive file is invalid.
2013-01-25 15:50:08 -08:00
Jimmy Shih 19131fe4a0 Cancel any request permissions after the user has granted permission. 2013-01-25 15:19:41 -08:00
Jimmy Shih 19675f74ab Add Sending a track to Google Drive. 2013-01-25 15:00:31 -08:00
Jimmy Shih bf6369e1b7 Add Send to Drive in ChooseUploadServiceDialogFragment 2013-01-25 13:06:25 -08:00
Jimmy Shih 97cad0b36c Fix style in SendFusionTablesActivity.java 2013-01-25 12:47:56 -08:00
youtaol c817a0b1c0 Add a case to test the setting and menu item of sync. 2013-01-24 18:48:04 +08:00
youtaol 517d5bdfb7 Fix an e2e test error after reset and backup menu are merged to one top menu item. 2013-01-24 18:44:31 +08:00
Jimmy Shih ff375c1eb5 Add two-ways sync to Google Drive. 2013-01-23 17:00:33 -08:00
Jimmy Shih 77e6dc1b73 Add columns driveid, modifiedtime, and sharedwithme
Add tombstone when a track is deleted
2013-01-23 13:06:28 -08:00
Jimmy Shih 07cd1dcdbb Allow importer to update an existing track. Add clearTrack in MyTracksProviderUtils 2013-01-23 11:04:15 -08:00
Jimmy Shih 6b5f9c976b Add drive_deleted_list and drive_largest_change_id 2013-01-23 09:59:31 -08:00
youtaol e7739d1034 Merge heads 2013-01-21 16:21:11 +08:00
youtaol d56cb50057 Fix an error of e2e setting test code for the setting page is changed. 2013-01-21 13:37:38 +08:00
Jimmy Shih 3100328014 Update backup and reset settings 2013-01-18 10:01:12 -08:00
Jimmy Shih ab1d6d8582 Update sensor settings 2013-01-17 17:41:50 -08:00
Jimmy Shih 7ad1c4fdf2 merge heads 2013-01-17 15:33:46 -08:00
Jimmy Shih 3f667948f1 Update the recording settings 2013-01-17 15:32:09 -08:00
youtaol 86054be1bd Fix an error when run testExportAndImportTrack_properties without Gps signal. 2013-01-17 14:27:26 +08:00