Merge "Don't set timeout when showing CDM UI"
This commit is contained in:
committed by
Android (Google) Code Review
commit
0266683a20
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user