Merge "Don't set timeout when showing CDM UI" into rvc-qpr-dev

This commit is contained in:
Eugene Susla
2020-11-10 01:59:54 +00:00
committed by Android (Google) Code Review

View File

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