Merge "Remove the suggestion to AsyncTask.SERIAL_EXECUTOR" am: 863a88ef07 am: 82c1a3d0bf

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2185016

Change-Id: I4cd880a40713d70fe19a62e315b652e7d8ce493d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2022-08-15 16:04:45 +00:00
committed by Automerger Merge Worker

View File

@@ -8970,7 +8970,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.
*/
@@ -9014,7 +9014,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.
*/