Settings: External GPS Support (1/2)

- Ported feature from CM9
- Fixed string/arrays files
- Removed translation

Submitted on behalf of a third-party: Cuong Bui

Change-Id: I5590b23a6539ae0a9b2fb8a07eed5fabdf290cbf
Signed-off-by: scotthartbti <scott@ubuntu.com>

Conflicts:
	res/values/cm_arrays.xml
	res/values/cm_strings.xml
	res/values/config.xml
Add fastcharge tile and powerwidget.  Please read below:

Overlay added to enable fastcharge widget.  You must define
the fastcharge file path and put it in the frameworks overlay
in your device tree.  Ex:
<string name="config_fastChargePath" translatable=
"false">/sys/kernel/fast_charge/force_fast_charge</string>

Change-Id: I96a0f5c39bba82f017fd2119c5a93e889c938575
Signed-off-by: scotthartbti <scott@ubuntu.com>
Touchkey light duration preference.  Needs overlay.

Needs an overlay added in the device source and will only work
if your touchkey driver supports this function.  Overlay goes
in the settings/res/values/config.xml file as follows:
<bool name="config_show_touchKeyDur">true</bool>

Change-Id: If5b4710df9fc1c4f181627d496f1ee08254cf6b7
Signed-off-by: scotthartbti <scott@ubuntu.com>
Remove privacy guard fragment in onDestroyView

Change-Id: I61cebe273fa6fd514f18c86894acd176701148f6
Revert "Remove privacy guard fragment in onDestroyView"

This reverts commit ec498ec16704f6a5f64c1e6d3122ee94a1508221.
Fix IllegalArgumentException in Privacy Guard Manager

On tablets such as manta a this occurs.  To reproduce go into PGM, press
the back button one time, then go back into PGM.

http://pastebin.com/N7XAybUB

Remove privacy guard fragment in onDestroyView

Change-Id: I61cebe273fa6fd514f18c86894acd176701148f6

Check if fragment transaction is empty before attempting to remove it

Change-Id: I08591c89559d33fee30ac2934fdbcc30637147da

PrivacyGuard fragment fix - change from empty check to isDestroyed check

Change-Id: I52fe44b7446cd16793df6ac9cdbe31e2ddd70210
Signed-off-by: Paul Beeler <sparksco@gmail.com>

PrivacyGuardManager: Reduce calls to getFragmentManager

Change-Id: I74f07a58b09cf0e9114d0c1c56e9a97d55ab0900
HALO size 2/2
Signed-off-by: scotthartbti <scott@ubuntu.com>

Change-Id: I72b5838e252dbeebea5b0440930711205a7b4578
Revert "Fix IllegalArgumentException in Privacy Guard Manager"

This reverts commit 2c58081d9d1f01153fa9e641465b429343279395.
Add a quick SELinux mode toggle

There's no way to make it persistent, by design. This is purposefully
undocumented and meant to test policies at this stage.

Change-Id: Ic79ed773b199b68fee15f94acd2107a5ad20dc25
Signed-off-by: scotthartbti <scott@ubuntu.com>

Conflicts:
	src/com/android/settings/DeviceInfoSettings.java
Fix IllegalArgumentException in Privacy Guard Manager

On tablets such as manta a this occurs.  To reproduce go into PGM, press
the back button one time, then go back into PGM.

http://pastebin.com/N7XAybUB

Remove privacy guard fragment in onDestroyView

Change-Id: I61cebe273fa6fd514f18c86894acd176701148f6

Check if fragment transaction is empty before attempting to remove it

Change-Id: I08591c89559d33fee30ac2934fdbcc30637147da

PrivacyGuard fragment fix - change from empty check to isDestroyed check

Change-Id: I52fe44b7446cd16793df6ac9cdbe31e2ddd70210
Signed-off-by: Paul Beeler <sparksco@gmail.com>

PrivacyGuardManager: Reduce calls to getFragmentManager

Change-Id: I74f07a58b09cf0e9114d0c1c56e9a97d55ab0900
[WIP] Settings: AutoSmsReply while in QuietHours

Freshly redone, just bare with me...

Change-Id: Ib2cf397478d987672bb791de7d4bbe50aa8abbfa
Signed-off-by: scotthartbti <scott@ubuntu.com>

Conflicts:
	res/values/arrays.xml
	res/values/strings.xml
	res/xml/quiet_hours_settings.xml
	src/com/android/settings/cyanogenmod/BootReceiver.java
	src/com/android/settings/cyanogenmod/QuietHours.java
Added Quiet Hours Ringer option (2/3)

Change-Id: I0b6cf5a2000d73eac54155c89f36831adf355c03
Signed-off-by: Noah Greene <chevycam94@gmail.com>
Signed-off-by: scotthartbti <scott@ubuntu.com>

Conflicts:
	res/values/strings.xml
Remove info for incoming calls since is does not apply anymore.
Signed-off-by: scotthartbti <scott@ubuntu.com>

Change-Id: I1ba93834b661df824cf26da49ffa6e786ec1fc37
UPDATE:  AutoSmsReply while in QuietHours

PS6:  Attempt to remove MessagingHelper.java from the commit

Change-Id: I6c64e4d12ab1d06d57fc16c39a29fd5e5435902b
Signed-off-by: scotthartbti <scott@ubuntu.com>

Conflicts:
	AndroidManifest.xml
halo dependency.  thanks andros
Signed-off-by: scotthartbti <scott@ubuntu.com>

Change-Id: I09ec045bfba1bce37924ea410a78cadbac5df318
Fix issue 52986: Wifi settings abnormal when screen rotation

When checked "Show Advanced settings" in wifi setup wifi setup wizard, and rotate the phone to landscape, the advanced settings are gone, but the checkbox is still checked. It's because of checkbox is set click listener but not checked changed listener, it can't handle checkbox's status properly.

Change-Id: I2930cab4d0878c3d91db46560f837ca21d45da4d

Conflicts:
	src/com/android/settings/wifi/WifiConfigController.java
Fixup

Change-Id: I6a10eb7b437cde2de7b2362de073f2a8b4913ad7