Merge "Fixing the session resurrection issue in SmartspaceService. The fix re-registers callbacks after the service is bound after a restart." into sc-dev

This commit is contained in:
Shashwat Razdan
2021-04-03 21:51:38 +00:00
committed by Android (Google) Code Review

View File

@@ -406,6 +406,8 @@ public class SmartspacePerUserService extends
+ callbackCount + " callbacks.");
}
service.onCreateSmartspaceSessionLocked(mSmartspaceConfig, mSessionId, token);
mCallbacks.broadcast(
callback -> service.registerSmartspaceUpdatesLocked(mSessionId, callback));
}
}
}