Loading services/companion/java/com/android/server/companion/CompanionDeviceManagerService.java +6 −12 Original line number Diff line number Diff line Loading @@ -454,9 +454,6 @@ public class CompanionDeviceManagerService extends SystemService implements Bind }).cancelTimeout(); }, FgThread.getExecutor()).whenComplete(uncheckExceptions((association, err) -> { final long callingIdentity = Binder.clearCallingIdentity(); try { if (err == null) { addAssociation(association); } else { Loading @@ -464,9 +461,6 @@ public class CompanionDeviceManagerService extends SystemService implements Bind callback.onFailure("No devices found: " + err.getMessage()); } cleanup(); } finally { Binder.restoreCallingIdentity(callingIdentity); } })); } Loading Loading
services/companion/java/com/android/server/companion/CompanionDeviceManagerService.java +6 −12 Original line number Diff line number Diff line Loading @@ -454,9 +454,6 @@ public class CompanionDeviceManagerService extends SystemService implements Bind }).cancelTimeout(); }, FgThread.getExecutor()).whenComplete(uncheckExceptions((association, err) -> { final long callingIdentity = Binder.clearCallingIdentity(); try { if (err == null) { addAssociation(association); } else { Loading @@ -464,9 +461,6 @@ public class CompanionDeviceManagerService extends SystemService implements Bind callback.onFailure("No devices found: " + err.getMessage()); } cleanup(); } finally { Binder.restoreCallingIdentity(callingIdentity); } })); } Loading