🤝 Check for discloure acceptance update in the background.
The linked bug occurred because when the disclosure notification is accepted, we update the SharedPreferences saying so, but the UX model is not updated as well. Because it would be quite difficult/involved to trigger an update in the model from the BroadcastReceiver that is triggered by the notification, we just check to see if the underlying data has been updated when the Activity is stopped. Change-Id: I30067ff39c064d9bedc872ab822f30a9d8749dbf Bug: 1168306 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2640453Reviewed-by:Ella Ge <eirage@chromium.org> Commit-Queue: Peter Conn <peconn@chromium.org> Cr-Commit-Position: refs/heads/master@{#845202}
Showing
Please register or sign in to comment