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

Commit dc1de94e 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 am: d218b3f0

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

Change-Id: I17474f8e48597509918b24c27cac672fe918cd42
parents 2b57eaf8 d218b3f0
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);
                }
            }));
        }