Merge "Don't set timeout when showing CDM UI"

This commit is contained in:
TreeHugger Robot
2020-10-05 20:56:48 +00:00
committed by Android (Google) Code Review

View File

@@ -317,7 +317,7 @@ public class CompanionDeviceManagerService extends SystemService implements Bind
AndroidFuture<Association> future = new AndroidFuture<>();
service.startDiscovery(request, callingPackage, callback, future);
return future;
}).whenComplete(uncheckExceptions((association, err) -> {
}).cancelTimeout().whenComplete(uncheckExceptions((association, err) -> {
if (err == null) {
addAssociation(association);
} else {