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

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

Change-Id: I57ebf8c2a9ad9297daa002cc55c8c5fc512bf3ba
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:24:17 +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.
*/