Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(867)

Unified Diff: customtabs/src/android/support/customtabs/CustomTabsSession.java

Issue 2501063002: Suppress findbugs warnings on Chromium for syncronized methods (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: customtabs/src/android/support/customtabs/CustomTabsSession.java
diff --git a/customtabs/src/android/support/customtabs/CustomTabsSession.java b/customtabs/src/android/support/customtabs/CustomTabsSession.java
index 8157733298b700d7a0cb65e82d6884b2159460bb..f0331871b01b91d2022bbd4c89af07dfeb455e5f 100644
--- a/customtabs/src/android/support/customtabs/CustomTabsSession.java
+++ b/customtabs/src/android/support/customtabs/CustomTabsSession.java
@@ -28,6 +28,8 @@ import android.support.customtabs.CustomTabsService.Result;
import android.support.customtabs.CustomTabsSessionToken.DummyCallback;
import android.widget.RemoteViews;
+import org.chromium.base.annotations.SuppressFBWarnings;
+
import java.util.List;
/**
@@ -160,6 +162,7 @@ public final class CustomTabsSession {
}
@Result
+ @SuppressFBWarnings("CHROMIUM_SYNCHRONIZED_METHOD")
public synchronized int postMessage(String message, Bundle extras) {
try {
return mService.postMessage(mCallback, message, extras);

Powered by Google App Engine
This is Rietveld 408576698