power: Increase kMinInteractiveDuration to 1 second
Current system animations can be much longer than 500ms. Increase the minimum
time to 1 second, as Qualcomm uses to boost when the device is rotated.
Change-Id: Ia55d3b9b17d5b010998db68581fab4150d2105cc
diff --git a/power-common.c b/power-common.c
index b6a88e4..e1c714a 100644
--- a/power-common.c
+++ b/power-common.c
@@ -72,7 +72,7 @@
const int kWaitDuration = 100; /* ms */
const int kMaxLaunchDuration = 5000; /* ms */
const int kMaxInteractiveDuration = 5000; /* ms */
-const int kMinInteractiveDuration = 500; /* ms */
+const int kMinInteractiveDuration = 1000; /* ms */
static struct timespec s_previous_boost_timespec;
static int s_previous_duration = 0;