summaryrefslogtreecommitdiff
path: root/java/droidstubs_test.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2023-12-13 02:29:24 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2023-12-13 02:29:24 +0000
commit0e02a14a2beaa5db61996ca241afaa93b0cdaf9c (patch)
treeae5adb2e37420842ec8695c3393e05f532cbf2e3 /java/droidstubs_test.go
parentd9c2df96013856d3766fc42c27b99d32081433bf (diff)
parentf384a08950879218950e137bdb8be5b367f897b7 (diff)
Merge "Use --revert-annotation instead of --hide-annotation" into main am: 550a0dab0d am: f384a08950
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2870808 Change-Id: I9078057e5c26906bc7e9e8df4cdfe023957ae3b1 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'java/droidstubs_test.go')
-rw-r--r--java/droidstubs_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/droidstubs_test.go b/java/droidstubs_test.go
index b97ae29d2..17cad8958 100644
--- a/java/droidstubs_test.go
+++ b/java/droidstubs_test.go
@@ -393,5 +393,5 @@ func TestDroidstubsHideFlaggedApi(t *testing.T) {
m := result.ModuleForTests("foo", "android_common")
manifest := m.Output("metalava.sbox.textproto")
cmdline := String(android.RuleBuilderSboxProtoForTests(t, result.TestContext, manifest).Commands[0].Command)
- android.AssertStringDoesContain(t, "flagged api hide command not included", cmdline, "--hide-annotation android.annotation.FlaggedApi")
+ android.AssertStringDoesContain(t, "flagged api hide command not included", cmdline, "--revert-annotation android.annotation.FlaggedApi")
}