diff options
| author | 2025-02-18 15:38:40 -0800 | |
|---|---|---|
| committer | 2025-02-18 15:38:40 -0800 | |
| commit | 0a977ce9257d236aeb435f90fdd0b4d3ead78b64 (patch) | |
| tree | f6a1815f312c9da03bb3a711d3a76a465d61783a | |
| parent | bfcc7c75ad9ec8f89a3188c7ed242981b20ef7a9 (diff) | |
Revert "servicestests and InputTests: allow warnings"
Revert submission 3495771-upgrade-mockito
Reason for revert: DroidMonitor: Potential culprit for http://b/397508359 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
Reverted changes: /q/submissionid:3495771-upgrade-mockito
Change-Id: Ia26942ea855f0a7e9e4ff5230dcc19b7fd0fab37
| -rw-r--r-- | services/tests/servicestests/Android.bp | 3 | ||||
| -rw-r--r-- | tests/Input/Android.bp | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/services/tests/servicestests/Android.bp b/services/tests/servicestests/Android.bp index d38f65d34de4..d336c9962c17 100644 --- a/services/tests/servicestests/Android.bp +++ b/services/tests/servicestests/Android.bp @@ -32,6 +32,9 @@ android_test { "test-apps/SuspendTestApp/src/**/*.java", ], + kotlincflags: [ + "-Werror", + ], static_libs: [ "cts-input-lib", "frameworks-base-testutils", diff --git a/tests/Input/Android.bp b/tests/Input/Android.bp index 5932b3cee5d9..084f9bd6d682 100644 --- a/tests/Input/Android.bp +++ b/tests/Input/Android.bp @@ -19,6 +19,9 @@ android_test { "src/**/*.kt", ], asset_dirs: ["assets"], + kotlincflags: [ + "-Werror", + ], platform_apis: true, certificate: "platform", static_libs: [ |