Issue: I forgot that the AsyncTask would run asynchronously from the UI thread, so the progress dialog cancels nearly instantaneously. I moved the dialog code into the AsyncQuery class itself and created a new constructor that requests context for the dialog.
Internal refactor: AndroidManifest.xml now no longer has uses-sdk information, which build.gradle provides in Android Studio.