Index: build/android/findbugs_filter/findbugs_exclude.xml |
diff --git a/build/android/findbugs_filter/findbugs_exclude.xml b/build/android/findbugs_filter/findbugs_exclude.xml |
index 2f7bde57097822e9b9feda85c41eab1b06f1df40..f300db1aa6e08d6701103d8e6dfdc726067143e0 100644 |
--- a/build/android/findbugs_filter/findbugs_exclude.xml |
+++ b/build/android/findbugs_filter/findbugs_exclude.xml |
@@ -49,4 +49,44 @@ In particular, ~ at the start of a string means it's a regex. |
<Bug pattern="DM_GC" /> |
</Or> |
</Match> |
+ <!-- |
+ Ignore calls to System.exit() following errors during loading the native library. |
+ There is no way to recover from such errors without restarting the application, |
+ so System.exit() is the best solution. |
+ --> |
+ <Match> |
+ <Class name="~org\.chromium\.chrome\..*\.ChromiumSyncAdapter.*" /> |
+ <Method name="run" /> |
+ <Bug code="Dm" /> |
+ </Match> |
+ <Match> |
+ <Class name="~org\.chromium\.chrome\..*\.ChromiumSyncAdapter" /> |
+ <Method name="startBrowserProcessesSync" /> |
+ <Bug code="Dm" /> |
+ </Match> |
+ <Match> |
+ <Class name="~org\.chromium\.chrome\..*\.ChromiumTestShellActivity" /> |
+ <Method name="onCreate" /> |
+ <Bug code="Dm" /> |
+ </Match> |
+ <Match> |
+ <Class name="~org\.chromium\.chrome\..*\.AccountsChangedReceiver.*" /> |
+ <Method name="run" /> |
+ <Bug code="Dm" /> |
+ </Match> |
+ <Match> |
+ <Class name="~org\.chromium\.content\..*\.ChildProcessService.*" /> |
+ <Method name="run" /> |
+ <Bug code="Dm" /> |
+ </Match> |
+ <Match> |
+ <Class name="~org\.chromium\..*ContentBrowserTestsActivity" /> |
+ <Method name="onCreate" /> |
+ <Bug code="Dm" /> |
+ </Match> |
+ <Match> |
+ <Class name="~org\.chromium\..*ContentShellActivity" /> |
+ <Method name="onCreate" /> |
+ <Bug code="Dm" /> |
+ </Match> |
</FindBugsFilter> |