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

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

Change-Id: Ic22f6186f11e61ad5dc545735847332dc47a8055
This commit is contained in:
Eugene Susla
2020-11-10 02:37:29 +00:00
committed by Automerger Merge Worker

View File

@@ -308,7 +308,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 {