Frameworks: fix possible NPE + and missing expandable panel

Steps to reproduce for NPE:
- go into volume style settings
- switch to disabled
- switch to expanded
- NPE and hotreboot

Fix:
Check if mStreamControls is initialized and if not lock it and do it.

Steps for expandable error:
- go into volume style settings
- switch to disable
- press one time the volume button
- change to expandable
- change the volume and press the expanded icon
- result is it does not expand and is empty due of the missing volume panels.

Fix:
- if it was changed from disabled to expanded be sure that the additional volume panels
are recreated.

PS:
- fix another exception

Change-Id: I58d63d34f831b6a6f60f6eddb3a07fc916d464f3
fb: Incoming Call in Background (3/3)

Patch ported from 4.2 which was done by our lovely HCP. A
very popular one so we bring it back and adapt it to 4.4

Allows user to set that Incoming Call UI will remain in background
if screen is on. Instead, a notification is added to StatusBar, which
can be used to bring up the Incoming Call UI. Ringtone and vibration
still occur as per system settings.

This has the same effect as apps marked as "immersive". It prevents
the incoming call from backgrounding the current activity.

Change-Id: I1eb0ae6b10ba02c3f1df95265d26a6c61db74aab

Conflicts:

	core/java/android/provider/Settings.java
[1/3] Flip to Mute/Reject Call

saving flip action value to Setings container

Change-Id: Ie72dda49d78b23b9bc7d8a886f6916f678c918d1

Conflicts:

	core/java/android/provider/Settings.java
Revert "[1/4] Dialer lookup"

This reverts commit fbc5c0fcc7d9efcfcb6af1b23950a771eeff263b.

Conflicts:

	core/java/android/provider/Settings.java

Change-Id: I098d6d80e0eebd4d736eda1f76aa9334242c954a
Frameworks: Open source google dialer and more (4/5)

This is an open source variant of the well known google Dialer which gives the
ability to show nearby places and revese lookup. It uses default the Google
engine to do this. As well you have the ability to use other providers.

Providers which are currently available:

lookup/nearby places:
Google
OpenStreetMap

Reverse lookup:
Google
OpenCnam (US-only)
WhitePages (US-only)
YellowPages (US-only)
ZabaSearch (US-only)

Change-Id: I4fbb61048bb40723b6f0e282b88a34bf66d7cb19

Conflicts:

	core/java/android/provider/Settings.java