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

Commit 013c3079 authored by Shashwat Razdan's avatar Shashwat Razdan
Browse files

Resurrecting sessions when AiAi is bound for the first time

Fix: 186694105
Test: Manually built

Change-Id: I4e6c31c75eebfd2ba046d62740f3d08d1ab83982
parent dc3608af
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();
            }