Fixing bug where search bar is not updated when search package is first installed.

- Fixing issue where we weren't disabling HW layers when you don't finish a swipe-to-dismiss
- Preventing tapping on a task that is currently being dismissed
- Adding a debug trigger for internal testing
- Minor refactoring

Change-Id: Id7dcc8a4b5a080402c2761cd555b8a882498ad29
diff --git a/packages/SystemUI/src/com/android/systemui/recents/Constants.java b/packages/SystemUI/src/com/android/systemui/recents/Constants.java
index 2abbad5..8995437 100644
--- a/packages/SystemUI/src/com/android/systemui/recents/Constants.java
+++ b/packages/SystemUI/src/com/android/systemui/recents/Constants.java
@@ -35,8 +35,6 @@
             public static final boolean EnableTaskStackClipping = true;
             // Enables tapping on the TaskBar to launch the task
             public static final boolean EnableTaskBarTouchEvents = true;
-            // Enables the use of theme colors as the task bar background
-            public static final boolean EnableTaskBarThemeColors = true;
             // Enables app-info pane on long-pressing the icon
             public static final boolean EnableDevAppInfoOnLongPress = true;
             // Enables the search bar layout
@@ -95,6 +93,8 @@
         public static class App {
             public static int AppWidgetHostId = 1024;
             public static String Key_SearchAppWidgetId = "searchAppWidgetId";
+            public static String Key_DebugModeEnabled = "debugModeEnabled";
+            public static String DebugModeVersion = "A";
         }
         public static class Window {
             // The dark background dim is set behind the empty recents view