Skip to content
Browse files

Removed old async task code

  • Loading branch information...
1 parent 63a973c commit 06e82352032c70744ef0bae7f34e52224a2b814c @deepwinter committed Aug 8, 2012
Showing with 0 additions and 43 deletions.
  1. +0 −43 src/net/winterroot/android/rhus/RhusMapActivity.java
View
43 src/net/winterroot/android/rhus/RhusMapActivity.java
@@ -170,49 +170,6 @@ public void onClick(View arg0) {
}
}
-
-
- /*
- private class QueryMapPointsTask extends AsyncTask<RhusMapActivity, Void, Void> {
-
-
- @Override
- protected Void doInBackground(RhusMapActivity... mapActivities) {
- Log.v(TAG, "Setting document cursor asynchronously");
- RhusMapActivity mapActivity = mapActivities[0];
-
- Uri workingSetUri = ((RhusApplication) getApplicationContext()).rhusDataSet.getQueryUri();
-
- documentsCursor = managedQuery(workingSetUri, null, null, null, null);
-
- if(documentsCursor != null){
- documentsCursor.setNotificationUri(mapActivity.getBaseContext().getContentResolver(), workingSetUri);
- documentsCursor.registerDataSetObserver(new MapDataObserver());
- }
-
- return null;
- }
-
- protected void onPostExecute(Void result) {
-
- clearMapPoints();
-
- try {
- updateOverlays();
- } catch (JsonProcessingException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- } catch (IOException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- Log.v(TAG, "updatingMapPoints FALSE");
- updatingMapPoints = false;
- }
-
- }
- */
-
private class MapDataObserver extends DataSetObserver {
@Override

0 comments on commit 06e8235

Please sign in to comment.
Something went wrong with that request. Please try again.