packages/apps/Browser/res/values/strings.xml
<!-- Do not tranlsate. Development option -->
<string name="pref_development_uastring" translatable="false">UAString</string>
<!-- Do not tranlsate. Development option -->
<string-array name="pref_development_ua_choices" translatable="false">
<item>Android</item>
<item>Desktop</item>
<item>iPhone</item>
<item>iPad</item>
<item>Froyo-N1</item>
</string-array>
<!-- Do not tranlsate. Development option -->
<string-array name="pref_development_ua_values" translatable="false">
<item>0</item>
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
</string-array>
packages/apps/Browser/src/com/android/browser/BrowserSettings.java
private int userAgent = 1; //jeff. 0;
userAgent = Integer.parseInt(p.getString("user_agent", "1")); //jeff. "0"
packages/app/Browser/res/xml/debug_preferences.xml
<ListPreference
android:key="user_agent"
android:title="@string/pref_development_uastring"
android:entries="@array/pref_development_ua_choices"
android:entryValues="@array/pref_development_ua_values"
android:defaultValue="1"/>