services: DisplayPowerController clean up

clean up screen off animation and custom auto brightness
SettingsProvider: Initialize defaults for features

Add configuration defaults for:
- status bar notification count
- QuickSettings quick pulldown
Make the default value of in-call noise suppression configurable.
settings: Enable the status bar double-tap to sleep gesture
services: disable screen on led by default
SystemUI: disable recents clear all by default
services: small fix in PackageManagerService
UsbDebuggingManager : Handle race condition when toggling rapidly

When toggling adb enable/disable rapidly, you can have the situation where the thread's
run() gets invoked but mAdbEnabled is already set to false, hence listenToSocket() never even
gets invoked in which case mOutputStream/mSocket are both null. This patchset adds checks
around that.

Change-Id: Iba56e7409435e22d690432fa663bc0a04a1a447d

Conflicts:
	services/java/com/android/server/usb/UsbDebuggingManager.java
services: AlarmManagerService: fix releasing alarm wakelock
accounts: don't remove accounts while device is in safe mode

Userspace apps are not available in safe mode, so authenticators are not available when
the system starts and checks all accounts. Just ignore these accounts and not add them
to the list of accounts.

JIRA: CYAN-4074
Issue: https://jira.cyanogenmod.org/browse/CYAN-4074
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Change-Id: I9cac5084c29fe33a0215ab4a9e693f58712438ac
Revert "Prevent a duplicated registration of Observers"

This reverts commit 17dad19a6c61c313d22b61c94b1f7345361b64ef.
[2/2] Battery Saver: remove LED and Vibrate options
AppOps: fix checking user permissions before enabling/disabling wifi.
fonts: Add LBhashitaComplexSans font for Sinhala

* From http://www.siyabas.lk/files/Bhashitha_Linux.zip

Change-Id: I293bfe84efd663d5a105541196e2bb3b123ee192
Clean up duplicate sounds
Revert "Fix null check for BaseObj.equals."

This reverts commit 98b36f7fdb1b632ed449314db916ad2cb1a0df9c.
Revert "Validate objects are from the correct context."

This reverts commit 233d61163fe4067f658efe573f88c10d501a9fb4.
[1/2] Lockscreen notifications enhancements

- Make multi-user aware
- Reorganise settings
- Fixed possible NPE
- Fixed NPE on devices without navbar

Add option to:
- Enable/disable if notification is actually dismissed
- Force enable low priority notifications

Modifications by @Evisceration:
- Possible NPE fixes
- Optimize notification addition process

Change-Id: I11bca31d21891a41d00841d1c6c3b5421b091309

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
SystemUI: disable navbar ime cursor by default
SystemUI: Modify AOSP EL translation

It's too long to fit in the QS tile

Change-Id: Ib9c64c8b15909de629a70ede10777d06a416b715