Revert "[SharingHub] Changed the way firstPartyOptions are created."
This reverts commit 9593ee49. Reason for revert: Breaking tests on Android. Looks like Mockito is failing to mock 'WindowAndroid' Sample build: https://ci.chromium.org/p/chromium/builders/ci/Lollipop%20Phone%20Tester/27576? Bug: 1143640 Original change's description: > [SharingHub] Changed the way firstPartyOptions are created. > > They will not be created on demand. This simplifies the logic to decide > which options are relevant given the current state of the Chrome app. > > Change-Id: I9b3ebf3030cfaa48088d7c1d0082d659b47f28cd > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2485838 > Commit-Queue: Tanya Gupta <tgupta@chromium.org> > Reviewed-by: Kyle Milka <kmilka@chromium.org> > Cr-Commit-Position: refs/heads/master@{#821914} TBR=kmilka@chromium.org,tgupta@chromium.org,sophey@chromium.org Change-Id: I904fb819d2fd37899faefb6c71140cd9c54ad419 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2506576Reviewed-by:Rayan Kanso <rayankans@chromium.org> Commit-Queue: Rayan Kanso <rayankans@chromium.org> Cr-Commit-Position: refs/heads/master@{#822108}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment