PhoneWindowManager: Changes for WFD.

- WFD now sends WIFI_DISPLAY_VIDEO intent to set UI orientation.
- PhoneWindowManager to listen for WFD intents.
- Display on WFD should be same as seen on the HDMI, so set the
  orientation to HDMI orientation

Change-Id: Id4d26526a858bd302dec5fc6e699e8b01afc2709
(cherry picked from commit d49398c22902cae4817e58389be2487ef7ab3312)
Add link control support

Add support for link control while sending
multiple messages.

Change-Id: I1e9009d2ba24512d03186a11a34dfddf484c2b8e
CRs-Fixed: 608922
(cherry picked from commit 8503f44a08d756fa66570f978b8892b8351da8d7)
Set empty string to the property if value is null

Issue is if the received value is null, then while
preparing complete property value for MSIM the null
value is converting to "null" string. Fix the issue
by adding null check to the received value.

Change-Id: Ib7a8ea5ce5b1341df6155ec34c25a016eb4ec667
CRs-Fixed: 622695
(cherry picked from commit e453c6b311a304cb161b522a2276fe192b0094ae)
Add string resource for UICC storage

This will add one more string resource for the devices
which has UICC support in settings->storage option.

Change-Id: I19a5813749f51aec841769aa8d21792716d033a7
(cherry picked from commit 40ed0f9f969b06c84bdcc0861e5fb027f08fecee)
Telephony(MSIM): Avoid NullPointerException

Wifi group and Mobile group variable can be null
during SystemUI startup or onDetachWindow.

Change-Id: Ia97fef9d7ed730b78e8cd9579d6e1d002cc9082f
CRs-Fixed: 643031
(cherry picked from commit 72a02774bc579bf775e81ac8878e23f88d77f512)
Validity Period support for MO SMS in 3gpp

Add Telephony framework support for Validity Period in 3gpp
for MO SMS

Change-Id: Iee7358ca1971441f0567e428b587562294fe29bb
CRs-Fixed: 627981
(cherry picked from commit 2e00347ec588f8a36c60be8175d8882548decfae)
Add support for default data subscription setting.

Default data subscription setting holds the default preference for data
subscription. It will be updated when user changes data preference,
sub deactivated or card removal.

Current set preferred data subscription API does not update the default
data subscription preference. This change is to handle temporary DDS switch
by apps like MMS.

New APIs to update and retrieve the default data subscription are added.

Change-Id: I495266cff2a5319c57279d9decb77d6a87bbfae8
CRs-Fixed: 642210
(cherry picked from commit 4b3808dff7c0e055e216b04afdd56372797de8f6)
rename the custom lockscreen state action

Change-Id: I4ffadda9392e8ca8765e5b8ca47994e3a9990792
(cherry picked from commit ab2a53a10aa4e95f7557aba8992661702084dff4)

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Add wallpaper pickers to seperate package [1/2]

Currently wallpaper pickers were part of the various launchers
and we were relying on Trebuchet's to add code for including
wallpapers from themes.  If Trebuchet is removed then this
functionality is lost.  This package is already included in all
builds so making the picker available here removes the dependency
on a specific launcher.

Trebuchet still contains a picker which should probably be removed
and make use of this package instead.

Change-Id: Ie42ae0e01f951a8293d13d6c8a73fde0dea6682b
(cherry picked from commit d5bcd2a6e605751cc3b730370083cb86231d072e)

Conflicts:
	packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java