Commit d83565cc authored by Tiger Oakes's avatar Tiger Oakes Committed by Commit Bot

Removed context#getApplicationContext calls from /components/invalidation

Continuation of work in bug 646094.

This CL was uploaded by git cl split.

R=pavely@chromium.org

Bug: 846456
Change-Id: I2d3ca825f9e312a9b4bb5c0addda69a1159b8de6
Reviewed-on: https://chromium-review.googlesource.com/1095990
Commit-Queue: Tiger Oakes <tigero@google.com>
Reviewed-by: default avatarPavel Yatsuk <pavely@chromium.org>
Cr-Commit-Position: refs/heads/master@{#570535}
parent 70ed3565
...@@ -240,9 +240,10 @@ public class InvalidationClientService extends AndroidListener { ...@@ -240,9 +240,10 @@ public class InvalidationClientService extends AndroidListener {
} }
} }
@SuppressWarnings("NoContextGetApplicationContext")
@Override @Override
public void requestAuthToken(final PendingIntent pendingIntent, public void requestAuthToken(
@Nullable String invalidAuthToken) { final PendingIntent pendingIntent, @Nullable String invalidAuthToken) {
@Nullable @Nullable
Account account = ChromeSigninController.get().getSignedInUser(); Account account = ChromeSigninController.get().getSignedInUser();
if (account == null) { if (account == null) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment