[NearbyShare] Add ClearForegroundReceiveSurfaces to NearbySharingService
Before, the NearbyShareDelegate was turning off high visibility mode by invoking the settings page with ?stop_receiving. That wasn't working because it was causing the settings page to reload and the state was lost. Instead, we go directly to the NearbySharingService and remove the foreground receivers. Bug: 1133799 Change-Id: I6cb35799dc8ee39db3d20cdd8865b45fccccf4e9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2441114Reviewed-by:Alex Gough <ajgo@chromium.org> Reviewed-by:
Kyle Horimoto <khorimoto@chromium.org> Reviewed-by:
James Vecore <vecore@google.com> Commit-Queue: Curt Clemens <cclem@google.com> Cr-Commit-Position: refs/heads/master@{#815384}
Showing
Please register or sign in to comment