Remove getApplicationContext calls from browserservices
Continuation of work in bug 646094. Preparing to activate an errorprone check to flag context#getApplicationContext calls. The goal is to prevent storing the resulting context as a class property, and instead use ContextUtils. This CL replaces two others: https://chromium-review.googlesource.com/c/chromium/src/+/1095986 https://chromium-review.googlesource.com/c/chromium/src/+/1095999 Bug: 846456 Change-Id: Id7ed38c318d97b7370938d32677bcf73b85c3314 Reviewed-on: https://chromium-review.googlesource.com/1141933Reviewed-by:Yaron Friedman <yfriedman@chromium.org> Commit-Queue: Tiger Oakes <tigero@google.com> Cr-Commit-Position: refs/heads/master@{#576242}
Showing
Please register or sign in to comment