Remove the suggestion to AsyncTask.SERIAL_EXECUTOR

Bug: 242220307

Change-Id: I7a7614e9764b26a34b9bcad16b05b521f7f9ff63
This commit is contained in:
Sooraj Sasindran
2022-08-12 00:41:35 +00:00
parent 00545d0fd6
commit f2812a91e0

View File

@@ -8812,7 +8812,7 @@ public class TelephonyManager {
* @param executor The executor through which the callback should be invoked. Since the scan
* request may trigger multiple callbacks and they must be invoked in the same order as
* they are received by the platform, the user should provide an executor which executes
* tasks one at a time in serial order. For example AsyncTask.SERIAL_EXECUTOR.
* tasks one at a time in serial order.
* @param callback Returns network scan results or errors.
* @return A NetworkScan obj which contains a callback which can be used to stop the scan.
*/
@@ -8857,7 +8857,7 @@ public class TelephonyManager {
* @param executor The executor through which the callback should be invoked. Since the scan
* request may trigger multiple callbacks and they must be invoked in the same order as
* they are received by the platform, the user should provide an executor which executes
* tasks one at a time in serial order. For example AsyncTask.SERIAL_EXECUTOR.
* tasks one at a time in serial order.
* @param callback Returns network scan results or errors.
* @return A NetworkScan obj which contains a callback which can be used to stop the scan.
*/