Merge "Annotate CallbackExecutor in requestCellInfoUpdate"

This commit is contained in:
Nathan Harold
2018-12-19 18:26:37 +00:00
committed by Gerrit Code Review

View File

@@ -4861,7 +4861,7 @@ public class TelephonyManager {
*/
@RequiresPermission(android.Manifest.permission.ACCESS_COARSE_LOCATION)
public void requestCellInfoUpdate(
@NonNull Executor executor, @NonNull CellInfoCallback callback) {
@NonNull @CallbackExecutor Executor executor, @NonNull CellInfoCallback callback) {
try {
ITelephony telephony = getITelephony();
if (telephony == null) return;