Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d218b3f0 authored by Evan Chen's avatar Evan Chen Committed by Automerger Merge Worker
Browse files

Merge "Fix mCachedAssociations for multiple users" into sc-dev am: 10778dd4

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

Change-Id: I97e2d6f3d556ed408200074d2e7342c34d86ab8f
parents 7eb14082 10778dd4
Loading
Loading
Loading
Loading
+6 −12
Original line number Diff line number Diff line
@@ -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 {
@@ -464,9 +461,6 @@ public class CompanionDeviceManagerService extends SystemService implements Bind
                    callback.onFailure("No devices found: " + err.getMessage());
                }
                cleanup();
                } finally {
                    Binder.restoreCallingIdentity(callingIdentity);
                }
            }));
        }