Fixed incorrect annotation Flaky to FlakyTest

Also marked WindowConfigurationTests as flaky

Bug: 74078662
Change-Id: I9902fc566f348b63cb5b2fdf04954ea9b031440d
Test: Self
diff --git a/services/tests/servicestests/src/com/android/server/wm/WindowStateTests.java b/services/tests/servicestests/src/com/android/server/wm/WindowStateTests.java
index 33a248d..83868d6 100644
--- a/services/tests/servicestests/src/com/android/server/wm/WindowStateTests.java
+++ b/services/tests/servicestests/src/com/android/server/wm/WindowStateTests.java
@@ -53,7 +53,7 @@
  * atest FrameworksServicesTests:com.android.server.wm.WindowStateTests
  */
 @SmallTest
-@Flaky(bugId = 74078662)
+@FlakyTest(bugId = 74078662)
 @Presubmit
 @RunWith(AndroidJUnit4.class)
 public class WindowStateTests extends WindowTestsBase {