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

Commit e46d3e7f authored by Shashwat Razdan's avatar Shashwat Razdan Committed by Automerger Merge Worker
Browse files

Merge "Resurrecting sessions when AiAi is bound for the first time" into sc-dev am: 0408e507

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

Change-Id: I4517771ca0cead267622d73955c3826cb148e1ed
parents 01facfce 0408e507
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -87,7 +87,10 @@ public class SmartspacePerUserService extends
    protected boolean updateLocked(boolean disabled) {
        final boolean enabledChanged = super.updateLocked(disabled);
        if (enabledChanged) {
            if (!isEnabledLocked()) {
            if (isEnabledLocked()) {
                // Send the pending sessions over to the service
                resurrectSessionsLocked();
            } else {
                // Clear the remote service for the next call
                updateRemoteServiceLocked();
            }