🤝 Don't initially show the Snackbar if we've left the verified origin.
State was getting slightly out of sync with the following sequence of events: 1. Open a TWA to a non-verified origin. 2. Navigation finishes, we notice and disable TWA UI. 3. finishNativeInitialization occurs, which is where we initially try to show the Disclosure Snackbar. Bug: 871266 Change-Id: Iaf152b49de18cf22eca90b61df570e582dd2a435 Reviewed-on: https://chromium-review.googlesource.com/1179680Reviewed-by:Bernhard Bauer <bauerb@chromium.org> Commit-Queue: Peter Conn <peconn@chromium.org> Cr-Commit-Position: refs/heads/master@{#584035}
Showing
Please register or sign in to comment