TelephonyManager: isSmsCapable: respect telephony properties

The 2 telephony properties override if SMS send/receive is enabled
in the telephony code. Also respect them for the isSmsCapable API.

Use case: Acer A700/701 (Wi-Fi only/3G) share the same build

Change-Id: Iaa1b45c62fa5a48a4c4a222d5e47980dd1678d48
(cherry picked from commit 6f2ec34eed6c1179fac325513b5eb92ceb691cb3)
Don't show notification count for a notification with just one item

For example, the Play Store sets the number attribute to 1 for a single
app update. No point in showing a counter for that.

Change-Id: I818622419f4f043fa8f04339ab24744aca7c1584

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/StatusBarIconView.java

(cherry picked from commit 78a333b3d06eb9d50ac86c23a36afa1f0b7264c2)
Harden against transiently unavailable backup transports

The init & clear operations are particularly important to ensure
delivery when at all possible, so we retry those periodically
if the transport is unavailable when we first attempt them.

Now with 100% less build break.

Bug 11716868

Change-Id: I2af4e93788068cfac97c0a48d3568c561eefa23d
(cherry picked from commit 88037fb39c5b25e29cb4ca3f9e4038e222884fde)
Framework: Get Shortcut Name (1/2)

Chamber of Secrets:
	Allow user to set intent name.
	This allows the intent to show up,
	for example, in custom tiles with
	a name that makes sense to the user.

AppHelper:
	Add shortcut preferred to returns

CustomTile:
	Use shortcut preferred

Change-Id: I4387c5910ff7d3812816d26fe6910109bdbbd20a

Patchset: 3
https://gerrit.slimroms.net/#/c/2028/
(cherry picked from commit 123f62261cda7f43236d8a9fd3cc97b26ebe2244)
QuickSettings : Quick Collapse [1/2]

Credits: Danesh M

Change-Id: I0257c7819cc1ccb5d0a092dc23fb9fa4ccec5c3b

Patchset: 2
https://gerrit.slimroms.net/#/c/1886/
(cherry picked from commit 0a1cc1a35673500ae7f7ebb874ff4ea2a854d816)
ExternalStorageProvider: use mount point in device list

For me its is extremely unlogical that only the volume label is used
in the device list. Even more because it can be an empty string
and for a normal android user this information is not visible
anywhere else.

Using the mount point and if available the device label
separated by "-" makes much more sense and shows the same
information as all other apps that access external storage

Change-Id: I3fc3675af6640e37aa999b03ae2de2858237c638
(cherry picked from commit 98639167e2f6f6ddefc1358aff9f578ad87e5e17)
Show owner info creation if no owner is set for UserTile

Forward port from cm-10.2.
Squash of the following commits:

Show owner info creation if no owner is set for UserTile

Change-Id: I43575946023676a1b75b67e1ae1996a0a3a35b88

Fix showing owner info creation from UserTile if no owner is set

* Turns out the default user will always be present, meaning a check of
  user count == 0 fails.

Change-Id: Id8e8e75c5f51c73a60d7b9039298ecb90e572bc9

Show default profile name if no profile exists

Change-Id: I6b651d6b552ab3caf30102d289469eaf68f58a0e

UserTile : Check if profile has a photo

In the event that the profile doesn't have a photo, don't default to the
user's photo, instead show a default avatar.

Change-Id: I80de324ae1e151693cf3716bf87d39a16096ca12

Conflicts:

	packages/SystemUI/src/com/android/systemui/quicksettings/UserTile.java

(cherry picked from commit 64b51afce4ebb99c3075a3642a62d66104267800)