@@ -106,7 +106,7 @@ enum {
106106 /**
107107 * Result from ALooper_pollOnce() and ALooper_pollAll():
108108 * An error occurred. The poll may also have been explicitly woken by
109- * ALooper_wake(() ).
109+ * ALooper_wake().
110110 */
111111 ALOOPER_POLL_ERROR = -4 ,
112112};
@@ -224,11 +224,11 @@ int ALooper_pollOnce(int timeoutMillis, int* outFd, int* outEvents, void** outDa
224224 * hidden and callers should migrate to ALooper_pollOnce. Binary compatibility
225225 * is preserved to support already-compiled apps.
226226 *
227- * \bug ALooper_pollAll will not wake in response to ALooper_wake calls if it
227+ * \bug ALooper_pollAll() will not wake in response to ALooper_wake() calls if it
228228 * also handles another event at the same time.
229229 *
230- * \deprecated Calls to ALooper_pollAll should be replaced with
231- * ALooper_pollOnce. If you call ALooper_pollOnce in a loop, you *must* treat
230+ * \deprecated Calls to ALooper_pollAll() should be replaced with
231+ * ALooper_pollOnce() . If you call ALooper_pollOnce() in a loop, you *must* treat
232232 * all return values as if they also indicate ALOOPER_POLL_WAKE.
233233 */
234234int ALooper_pollAll (int timeoutMillis , int * outFd , int * outEvents , void * * outData )
@@ -242,7 +242,7 @@ int ALooper_pollAll(int timeoutMillis, int* outFd, int* outEvents, void** outDat
242242 * This method can be called on any thread.
243243 * This method returns immediately.
244244 *
245- * \bug ALooper_pollAll will not reliably wake in response to ALooper_wake.
245+ * \bug ALooper_pollAll() will not reliably wake in response to ALooper_wake() .
246246 */
247247void ALooper_wake (ALooper * looper );
248248
0 commit comments