Remove old @Postsubmit annotation
[android/platform/frameworks/opt/telephony.git] / tests / telephonytests / src / com / android / internal / telephony / gsm / GsmSmsDispatcherTest.java
index fdbb098..cdd9020 100644 (file)
@@ -28,8 +28,8 @@ import android.location.CountryDetector;
 import android.os.HandlerThread;
 import android.os.Message;
 import android.os.SystemProperties;
-import android.platform.test.annotations.Postsubmit;
 import android.provider.Telephony;
+import android.support.test.filters.FlakyTest;
 import android.test.suitebuilder.annotation.MediumTest;
 import android.test.suitebuilder.annotation.SmallTest;
 
@@ -120,7 +120,7 @@ public class GsmSmsDispatcherTest extends TelephonyTest {
         assertEquals(0, mFakeBlockedNumberContentProvider.mNumEmergencyContactNotifications);
     }
 
-    @Postsubmit
+    @FlakyTest
     @Test @MediumTest
     public void testSendSmsToEmergencyNumber_notifiesBlockedNumberProvider() throws Exception {
         setupMockPackagePermissionChecks();