Show wide conversation list item on wide tablet

Show the wide conversation list item in conversation list mode when running
on a device where the current width is >=1000dp.

Since on a 10" tablet we are supposed to show different conversation list
item layouts depending on the current width, this resource specified is
using the wXXXdp qualifier.  If we were to use the sw720dp-port qualifier,
a tablet that is 720x720dp, would show the wrong layout in one of the
orientations

Bug: 6600648
Change-Id: I0388bce4c0cf8bac5a6a5bb9cbf126aab113ef69
diff --git a/res/values-w1000dp/constants.xml b/res/values-w1000dp/constants.xml
new file mode 100644
index 0000000..9d6741e
--- /dev/null
+++ b/res/values-w1000dp/constants.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+     Copyright (C) 2011 Google Inc.
+     Licensed to The Android Open Source Project.
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+-->
+<resources>
+    <integer name="conversation_list_header_mode">0</integer>
+</resources>
\ No newline at end of file
diff --git a/src/com/android/mail/browse/ConversationItemViewCoordinates.java b/src/com/android/mail/browse/ConversationItemViewCoordinates.java
index 87e3191..b9908b0 100644
--- a/src/com/android/mail/browse/ConversationItemViewCoordinates.java
+++ b/src/com/android/mail/browse/ConversationItemViewCoordinates.java
@@ -135,9 +135,9 @@
      */
     public static int getMode(Context context, ViewMode viewMode) {
         Resources res = context.getResources();
-        return viewMode.isListMode() ? res
-                .getInteger(R.integer.conversation_list_header_mode) : res
-                .getInteger(R.integer.conversation_header_mode);
+        return viewMode.isListMode() ?
+                res.getInteger(R.integer.conversation_list_header_mode) :
+                res.getInteger(R.integer.conversation_header_mode);
     }
 
     /**