forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent Cronet code from bypassing test Context
The test code sets up the CronetEngineBuilder with a special Context, but the CronetEngineBuilderImpl immediately calls getApplicationContext() on it, which returns the original application context, thereby defeating the entire point. Change-Id: I0593e66bf4cbe68429263b198f27f4f2306b2329 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4813316 Reviewed-by: Stefano Duo <stefanoduo@google.com> Commit-Queue: Etienne Dechamps <edechamps@google.com> Auto-Submit: Etienne Dechamps <edechamps@google.com> Cr-Commit-Position: refs/heads/main@{#1189531}
- Loading branch information
1 parent
8c2a7b5
commit c5f0ac9
Showing
1 changed file
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters