diff --git a/src/org/thialfihar/android/apg/utils/ApgCon.java b/src/org/thialfihar/android/apg/utils/ApgCon.java index 0c216b547..475f7e9a9 100644 --- a/src/org/thialfihar/android/apg/utils/ApgCon.java +++ b/src/org/thialfihar/android/apg/utils/ApgCon.java @@ -56,6 +56,11 @@ public class ApgCon { private final static String TAG = "ApgCon"; private final static int API_VERSION = 1; // aidl api-version it expects + /** + * How many seconds to wait for a connection to AGP when connecting. + * Being unsuccessful for this number of seconds, a connection + * is assumed to be failed. + */ public int secondsToWaitForConnection = 15; private class CallAsync extends AsyncTask { @@ -278,12 +283,12 @@ public class ApgCon { * *

* After you have set up everything with {@link #setArg(String, String)} - * (and variants), you can call a function from the AIDL-interface. This - * will + * (and variants), you can call a function of the AIDL-interface. This + * will: *

*

@@ -317,7 +322,7 @@ public class ApgCon { } /** - * Calls a function from remote interface asynchronously + * Calls a function of remote interface asynchronously * *

* This does exactly the same as {@link #call(String)}, but asynchronously. @@ -326,7 +331,7 @@ public class ApgCon { *

* *

- * To see whether the task is finished, you have to possibilities: + * To see whether the task is finished, you have two possibilities: *