Launch Dev Tools in Settings

Credits : CyanogenMod
Add Path for ROMStats
Settings: fix NPE

if the user resumes InputMethodAndLanguage settings and
the user dictonary preference was already removed before,
the user will run into a NPE.

check it to fix it.

Change-Id: I1eac844720768bb668e26f0a572c7876b7b0bcee
Settings: add development animation transition mode 0.75

Change-Id: Iaaeb3757ef9b3b97d66d929629e9035ab511f72a
Settings: correct 0.75 animation scale for other lanuages and add 0.25

and a small cleanup for warnings

Change-Id: I07256fadacd0405b5049252b6bc3da9850adc3d1
Add a confirmation dialog before SELinux enforcing

Change-Id: I20b6ca9a729f58c3b5637ed29b7be7b8dbf9c3d4
Move hardware tunables to Carbon Fibers.
Settings: Profiles: Update look to be more inline with others

This changes the tab host to a PagerTabStrip to match what is used
in the "Apps" settings screen.

Also simplify menu handling between screens.

Change-Id: If7fa157a6c9e346c1dba8ed7282c35e9cb4e11fd

Conflicts:
	res/values/cr_strings.xml
FIX CARBON Version.
Wifi: Allow configuration of Ad-Hoc (IBSS) networks

Show Ad-Hoc (IBSS) networks in the list of available Wi-Fi networks and allow
to connect to or create new Ad-Hoc (IBSS) networks.

This requires the IBSS changes in frameworks/base and external/wpa_supplicant_8

Change-Id: Ie44c47753100bbf8e691446e69b8d31659f64e3b

Conflicts:
	res/values/strings.xml
	src/com/android/settings/wifi/AccessPoint.java
Wifi: Enable IBSS options only if IBSS is supported

Show IBSS network options only if IBSS mode is supported by the Wifi driver.

This makes use of the new API isIbssSupported() of WifiManager. We have to be
careful to make the query only after we reached WIFI_STATE_ENABLED.

WifiSettingsForSetupWizardXL is left out because it does not handle these
states.

Change-Id: I072c5cc6ed36305806b469cf05c4786d22bfd418
Wifi: Add frequency selection for new IBSS

Allow users to select a frequency for newly created Ad-Hoc (IBSS) networks, and
show the frequency for existing IBSS.

Change-Id: Icaa09c9386967fdf0a88865ff2e64cc9b219da1f

Conflicts:
	src/com/android/settings/wifi/WifiSettings.java
Swap volume buttons when the screen is rotated (2/2)

Patch Set 7: Hide option if device not supported

Patch Set 8: Fix string derp introduced on ps7

Patch Set 9: Invert the orientation interpretations on tablets

Change-Id: Ie2166a4d50050e7a60933251bfc8cda97c42d419

Conflicts:
	res/values/strings.xml
Settings: rotation settings for devices with hardware rotation lock

All settings would be disabled on devices with hardware rotation
lock due to dependency setting. Disable dependency to allow setting
swap volume and rotation degrees on those devices.

Change-Id: Iee0532902d59fa80666e17b3853db8e3d7ed5ddc
DataUsageSummary: fix mobile data usage display for sim-less devices

- Don't assume the device has a sim card. Check for a phone number
  instead. Otherwise the mobile data usage screen will not show up
  on sim-less CDMA devices.

Change-Id: Ic6e35dc209ff05e0c89dc990ad82f4ab4d3f337d
DataUsageSummary: fix mobile data usage display for GSM devices with no number

Some providers don't write phone number onto SIM card causing the
phone number check introduced in the partially reverted commit to fail.
Re-introduce the original check with the "or" condition.

This partially reverts commit 4c51b45355b9d6fed973f946738bf455a8b7c9ea.

Change-Id: I69a65a1a421dcdf168c3d0afeb7110cb97790034
Settings: Broadcast ACTION_DATE_CHANGED

Send ACTION_DATE_CHANGED when user change the format of the date

Change-Id: I89ef0354ae2b0825378a6e8939341c4eccf63e17
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Check if the Activity is finishing before showDialog()

Check if the Activity is going through its finishing phase before
displaying the Dialog, because Showing dialog once the activity
is no longer in context will cause BadTokenException.

Change-Id: I58940e694f61cd79536abe2df60a0b745a7b806f
WLAN configuration (static address): reject IPv6 addresses.

Without this, entering an IPv6 address as the interface address (or possibly
also others, such as gateway address) will, on connection to that WLAN,
trigger an uncaught exception:

*** FATAL EXCEPTION IN SYSTEM PROCESS: WifiStateMachine
java.lang.IllegalArgumentException: command '59 interface setcfg wlan0 2001:db8::ffff 24 up' failed with '501 59 Flag unsupported'
	at com.android.server.NetworkManagementService.setInterfaceConfig(NetworkManagementService.java:546)
	at android.net.wifi.WifiStateMachine$ObtainingIpState.enter(WifiStateMachine.java:3449)
	at com.android.internal.util.StateMachine$SmHandler.invokeEnterMethods(StateMachine.java:958)
[etc.]

followed by a restart of the UI then another connection attempt. So long as
the misconfigured-for AP is present (and preferred?), this will continue to
happen.

Change-Id: I524480339c37ad079fd21d90a6b1fc5864089cb5
No back icon in action bar of APN Settings

When entering the APN menu, the actionbar is missing a back
icon allowing the user to go back to the previous pane.

Added parentActivityName in ApnSettings, to enable action
bar back icon.

Change-Id: Iee8bb420f47c0e2c0d9a43739f534466abba30db