Merge "Don't set timeout when showing CDM UI" into rvc-qpr-dev
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user