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:
committed by
Android (Google) Code Review
commit
235c5318d4
@@ -406,6 +406,8 @@ public class SmartspacePerUserService extends
|
||||
+ callbackCount + " callbacks.");
|
||||
}
|
||||
service.onCreateSmartspaceSessionLocked(mSmartspaceConfig, mSessionId, token);
|
||||
mCallbacks.broadcast(
|
||||
callback -> service.registerSmartspaceUpdatesLocked(mSessionId, callback));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user