settings: Enable the status bar double-tap to sleep gesture

Change-Id: Ibe4f1d0c864f261211d7ded418abfe45633e1392

Conflicts:

	packages/SettingsProvider/res/values/defaults.xml
[1/3]frameworks/base: add "Accept all files" option for incoming files via Bluetooth

This patch defines a key to store the option value in Settings Provider db

Change-Id: I993d7ec77b49f608a5a17e5a8516e52fc5d82946
LockPatternUtils: fix regression in accuracy of isSecure()'s return

The camera widget no longer functions properly with a lock
I've only skimmed pertinent recent changes, but this seems like it could be related.

Change-Id: I58a70a80c72ea4ab6705c4eda30ae9d25e14f949
Don't animate the circle battery meter when battery is fully charged

Rotating a full circle is unnecessary, no need to redraw the battery
meter every 50ms

Change-Id: Ibc7232ccd296ddbcf7c920aa6d8f01baa92a06d7
MSimNetworkController: disable log spew

Some logging statements are not properly guarded leading to logcat
flood every few seconds.

Change-Id: I2a34b21d23891a3506f7024c464eb2ddf273e715
Fix for default USB debugging in eng builds.  Starts adbd on first launch and accepts all connections for eng, starts adbd on first launch and prompts for userdebug, does not start adbd for user.

Change-Id: I26d1ef1bb208cec79d45687aea833a1b3e076b83
Revert "ActivityTrigger:  New class to invoke when activity starts/resumes"

 * No longer supported upstream, and will be superseded by new
   CM functionality.

This reverts commit c5bb1bbd0a59640ec394ee729b57de34295a4e99.

Change-Id: Ieb26fb1db62b739e048a6a9b87fb33579b4ee285

Conflicts:

	core/jni/AndroidRuntime.cpp
	services/java/com/android/server/am/ActivityStack.java
perf: Improve performance profiles

 * Performance Profiles is going to grow into a much more powerful
   feature which can apply advanced optimizations or power saving
   techniques depending on both the state of the hardware as well
   as the current applications in use.
 * Refactor the original code and move it into PowerManager so
   that it's managed from the same place.
 * Implement "automatic performance profiles". This feature will
   automatically select a profile when specific activities are
   running. Currently this list is static and engages performance
   mode for several benchmarks (trollface).
 * Added support for a new power hint, POWER_HINT_SET_PROFILE.
   Currently, these profiles are fired using a property trigger
   in init. This is easy, but the PowerHAL can do more.
 * Moved the setting to Settings.Secure and also wrapped calls
   to the service in the DEVICE_POWER permission. Nobody should
   mess with this stuff except the system.

TODO:
 * Allow user configuration per-app.
 * Implement an advanced power-saving mode.

Change-Id: I140ebc0648c4cf05900e005923247c3180be8c93

Conflicts:

	core/java/android/provider/Settings.java
	core/res/res/values/symbols.xml
Squashed revert of temp removal of CM 11 engine

This is a combination of 6 commits.
The first commit's message is:

Revert "TEMP - Remove new and borked theme engine #3"

This reverts commit 4b5d87224b3102845a6131233d7d00c0fd7cf240.

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

hange-Id: Ida65ea05b99c37ee04d4e83a04c27792d43cd463
Signed-off-by: DHOMD <DHO@dho.im>

Revert "Revert "Return system theme when SecurityException is caught.""

This reverts commit a71056be776e87c87b17dcbde9b3ab481ef8d016.

Revert "Revert "CM11 Themes: Ensure customTheme is not null.""

This reverts commit 6d3b23775cceddd38e334858efdf8c32183ca6c2.

Revert "Revert "CM11 Themes: Properly handle SystemUI theme package name.""

This reverts commit df46bef93d33a45924c4b34ac10c5efabb6482c8.

Revert "Revert "CM11 Themes: Include alarms in mixnmatch.""

This reverts commit fef4d1352617c4ec58771629e3a4dcdf1b9c94be.

Revert "Revert "CM11 Themes: Common overlay for sharing resources. [1/2]""

This reverts commit 640b88e4dee031c7efe0e76f57c52010cc0b498f.

Change-Id: I86e6837ed73442e201f7a4ce7805432c28934ef7
Signed-off-by: DHOMD <DHO@dho.im>
Conflicts:
	core/jni/AndroidRuntime.cpp
Signed-off-by: DHOMD <DHO@dho.im>
Merge branch 'kk44' of github.com:VanirAOSP/frameworks_base into kk44