Fix Google notification controller for proguard.
commit60b831d31c8af2bbedb94c2c320ab08fb6c141d0
authornyquist <nyquist@chromium.org>
Fri, 9 Jan 2015 23:02:02 +0000 (9 15:02 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 9 Jan 2015 23:03:44 +0000 (9 23:03 +0000)
tree461683c271e04cad5362bba7ca4d4debb07cc891
parent9b2bb8eed274a58376877955b1574e6bac6ef1ee
Fix Google notification controller for proguard.

The GoogleServicesNotificationController#getInstance() method is getting
removed by proguard in downstream release builds, and is therefore not
accessible by test classes.

Add @VisibleForTesting annotation to make it always accessible.

BUG=428882

Review URL: https://codereview.chromium.org/823603007

Cr-Commit-Position: refs/heads/master@{#310880}
chrome/android/java/src/org/chromium/chrome/browser/notifications/GoogleServicesNotificationController.java