FrameRateCtsActivity: increase frame rate switch grace period

A recent platform change (ag/11668114) was introduced to make sure
animations are done at high refresh rate. As a result, when the CTS
activity launches, the animation would cause the refresh rate to stay
at high for a longer time.

Bug: 155367075
Test: CtsGraphicsTestCases
Change-Id: I04e497215879c7bbfc363a7e5f0dcfe6d7c7179b
diff --git a/tests/tests/graphics/src/android/graphics/cts/FrameRateCtsActivity.java b/tests/tests/graphics/src/android/graphics/cts/FrameRateCtsActivity.java
index 5ad060a..dee467e 100644
--- a/tests/tests/graphics/src/android/graphics/cts/FrameRateCtsActivity.java
+++ b/tests/tests/graphics/src/android/graphics/cts/FrameRateCtsActivity.java
@@ -48,7 +48,7 @@
     }
 
     private static String TAG = "FrameRateCtsActivity";
-    private static final long FRAME_RATE_SWITCH_GRACE_PERIOD_SECONDS = 1;
+    private static final long FRAME_RATE_SWITCH_GRACE_PERIOD_SECONDS = 2;
     private static final long STABLE_FRAME_RATE_WAIT_SECONDS = 1;
     private static final long POST_BUFFER_INTERVAL_MILLIS = 500;
     private static final int PRECONDITION_WAIT_MAX_ATTEMPTS = 5;