Base: fix MultiSelectListPreference NPE

Error AndroidRuntime 25851  Caused by: java.lang.NullPointerException
Error AndroidRuntime 25851         at android.preference.MultiSelectListPreference.onGetDefaultValue(MultiSelectListPreference.java:212)
Error AndroidRuntime 25851         at android.preference.Preference.<init>(Preference.java:268)
Error AndroidRuntime 25851         at android.preference.DialogPreference.<init>(DialogPreference.java:69)
Error AndroidRuntime 25851         at android.preference.DialogPreference.<init>(DialogPreference.java:90)
Error AndroidRuntime 25851         at android.preference.MultiSelectListPreference.<init>

also Cleanup whitespace :/

Change-Id: I3f0a1fba8f6651522e4f0c4e4750b2ce0042314f
Revert "PackageManager: Fix reconnection logic in Installer."

This reverts commit 39005313c12ccf0f50988c79e5bcaf3b2509eb86.

http://jira.omnirom.org/browse/OMNI-833

Change-Id: I3af8b80c652dcc67f8baef6a86c5631849d73667
Revert "[1/2] Base: Speed up booting on multicore devices"

This reverts commit abd46e965d981e5b64f5fc44066317aa50d688ef.

http://jira.omnirom.org/browse/OMNI-833

Change-Id: I797c1ef721d09c172bce937bfed0d2458e4c5f9b
[1/2] Base: MultiUser support

fix bug for secondary User or Multi User

fix http://jira.omnirom.org/browse/OMNI-838

NOTE:
FOR all contributor
please add support for multiuser what ever you change here
we have supported device that has multiuser
xD

PS3:
added missing KeyguardViewManager

PS4:
fixed enablement of network traffoc and battery style

PS5:
update statusbar on user switching

PS6:
fixed lockscreen power menu handling

PS7:
fixed lockscreen camera

PS8:
fixed lockscreen see-through

PS9:
fixed searchpanelview target
fixed iconmerge

PS10:
fix Global action aka power menu

PS11:
Rebased

Change-Id: I537f18ff520ae682b89565adda45952415561557
[1/2] Base: Navigation bar height/width

All credits to SlimRoms / kufikugel

Change-Id: I70b1983de8d79e91edbc4ea4dcb1f9d8f1e766d2
base: added camera flip activation for n1

Flipping camera will start camera app
both from offscreen and onscreen

This also adds a property that can force enable
DEBUG_INPUT since this can be extremely helpful
to enable without rebuilding

Activate with
config.override_debugInput=1

Change-Id: I3e67e5dc3df8b4d4f89daa6a8aad475f3794a37b
[2/2] Base: notification drawer: custom clock & calendar shortcut

OmniGears: https://gerrit.omnirom.org/#/c/4810/

PS9:
fix for multi-user

Change-Id: I941cdebde0b9d90c92f83df9e44f40bb4d4cce63
base: lockscreen rotation fix

You must not check the value of ACCELEROMETER_ROTATION here
cause this will be 0 also in the case of using 'rotation locked'
from quick settings

Change-Id: If610e86d1df6be1a60aa996450344c07f8266e5f
framework: update config_hardwareKeys comment for camera key

Change-Id: Ic9a22448c16428fc2f311ea813aa2ec5f27493db
Merge "framework: update config_hardwareKeys comment for camera key" into android-4.4
base: added national roamning

http://jira.omnirom.org/browse/OMNI-869

Users of MCC 272 MNC 11 can roam on MNC 02

Change-Id: I70dd2efe7e3bd11e3e33ff40f66bf75a0b586aa5
[1/2] Base: DownloadManager: add support pause/resume/stop notifications

Add pause, resume and stop functions to make user can pause, resume and stop downloads by manual in downloads application.

Change-Id: I82ffff5a539448faab8933e2b47591199bf24cb9
Fix HTC headset handling.

HTC's headset driver adds additional bits to the switch state, which
we're unable to deal with. Fix that by masking out those bits and
keeping only the valid ones.

Based off: https://gerrit.omnirom.org/#/c/5500/

Original author retained :)

Change-Id: I1abca665488e89f76eae97c4aab86bd51afd2a19
Fixup pin-layout on sw320dp-hdpi and sw320dp devices

Based on: http://review.cyanogenmod.org/#/c/57557/

Note: Though this commit seems to have been already picked here: https://github.com/omnirom/android_frameworks_base/commit/b3904d3255f3ec620f317d7d39b195dcda77c9ba
I don't think it was fully picked :|

Change-Id: I13893069102b82ae74169b51863ccf76b863a380
framework-res: add Chinese translation

Change-Id: I9b51c3ad43501303cf44b5cbec3bf499b34e6580
SystemUI: add Chinese translation

Change-Id: I930e1d0843b2142fcc07a357673da41f80173d07
[2/2] Base: Active Display add shake event

- use better sensor event listener
- added option to bypass Quiet Hours (default now is not , that is 'privacy is first' decision)
- added option to configure time between shakes
- added option to set disable timeout
- added option to run like "PA PEEK"

Change-Id: Iabd42517a4e9df82e9cf653359104303667e43be
[1/2] base: added settings for flip camera activation

Change-Id: I4674364780ba28d7fb296c969a084244430a91aa
frameworks/base: add "Accept all files" option for incoming files via Bluetooth [2/3]

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

Use together with https://gerrit.omnirom.org/6782/
 and https://gerrit.omnirom.org/6784/

Change-Id: I31275e3a88841891b9cd7c3109941821797cbab8
Merge changes I31275e3a,I930e1d08,I9b51c3ad into android-4.4

* changes:
  frameworks/base: add "Accept all files" option for incoming files via Bluetooth [2/3]
  SystemUI: add Chinese translation
  framework-res: add Chinese translation