Fixing the session resurrection issue in SmartspaceService. The fix re-registers callbacks after the service is bound after a restart.
Test: Built on device and tested manually Bug:182330864 Change-Id: I0364ad0707f05e62f87c836d6e63b0134f6460a4
This commit is contained in:
@@ -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