<NME> PocketQueryListActivity.java
<BEF> package cgeo.geocaching.connector.gc;

import cgeo.geocaching.R;
import cgeo.geocaching.models.GCList;
import cgeo.geocaching.settings.Settings;

import java.util.List;

public class PocketQueryListActivity extends AbstractListActivity {

    public PocketQueryListActivity() {
        title = R.string.menu_lists_pocket_queries;
        progressInfo = R.string.search_pocket_loading;
        errorReadingList = R.string.err_read_pocket_query_list;
    }

    @Override
    protected boolean getFiltersetting() {
        return Settings.getPqShowDownloadableOnly();
    }

    @Override
    protected void setFiltersetting(final boolean value) {
        Settings.setPqShowDownloadableOnly(value);
    }

    @Override
    protected List<GCList> getList() {
        return GCParser.searchPocketQueries();
    }


    private boolean onlyDownloadable = false;
    private boolean fixed = false;
    private SwitchCompat switchCompat = null;

    @Override

        final Bundle extras = getIntent().getExtras();
        if (extras != null) {
            onlyDownloadable = extras.getBoolean(Intents.EXTRA_PQ_LIST_IMPORT);
            if (onlyDownloadable) {
                fixed = true;
            }
        } else {
            onlyDownloadable = Settings.getPqShowDownloadableOnly();
        }

        return onlyDownloadable;
    }

    public void returnResult(final PocketQuery pocketQuery) {
        setResult(RESULT_OK, new Intent()
                .setDataAndType(pocketQuery.getUri(), "application/zip"));

<MSG> fix returning pq result (fix #10260)

<DFF> @@ -32,6 +32,7 @@ public class PocketQueryListActivity extends AbstractActionBarActivity {
 
     private boolean onlyDownloadable = false;
     private boolean fixed = false;
+    private boolean startDownload = false;
     private SwitchCompat switchCompat = null;
 
     @Override
@@ -40,11 +41,13 @@ public class PocketQueryListActivity extends AbstractActionBarActivity {
 
         final Bundle extras = getIntent().getExtras();
         if (extras != null) {
+            startDownload = false;
             onlyDownloadable = extras.getBoolean(Intents.EXTRA_PQ_LIST_IMPORT);
             if (onlyDownloadable) {
                 fixed = true;
             }
         } else {
+            startDownload = true;
             onlyDownloadable = Settings.getPqShowDownloadableOnly();
         }
 
@@ -121,6 +124,10 @@ public class PocketQueryListActivity extends AbstractActionBarActivity {
         return onlyDownloadable;
     }
 
+    public boolean getStartDownload() {
+        return startDownload;
+    }
+
     public void returnResult(final PocketQuery pocketQuery) {
         setResult(RESULT_OK, new Intent()
                 .setDataAndType(pocketQuery.getUri(), "application/zip"));

fix returning pq result (fix #10260)