Dont show "Erase SD Card" when there is none

On devices with physcal, external SD Cards, the "Erase SD card"
option in in Settings/Storage is available even when there is
no SD card present, this dont make much sense since you cannot
erase a card that is absent. With this change the erase option
is bound to the mount toggle which leads to the following
consequences:

 Card present and mounted -> Erase enabled
 Card present but unmounted -> Erase enabled
 No card present -> Erase disabled
 Card present and MTP attached -> Erase disabled

Change-Id: I756ae8af3e0565febaf940df5f4991dd89105bd9
Fix elapsed time formatting.

We should extend DateUtils to provide this kind of elapsed time
formatting via icu4c, but for now let's at least fix our
arithmetic.

Bug: https://code.google.com/p/android/issues/detail?id=61479
Change-Id: I6c087dbb9fdbff0a21d9243d239126fee180454c
Settings: Minimum Vibration Duration (2/2)

PS2: Remove from devices without vibration
PS3: Get correct value on re-entry.

Change-Id: I37238cf08141061bcca392e7deacfc0be23c3120
Settings: reorder app security to top

app security is for ppl a very important feature so it should not be the last
one. Reorder it to the top, after that screen security, after that all other ones

Change-Id: I6ea024970bf910ec8108ab0a959ded159d111049
Commit Ie63fa1018ffb7bc419e4d7915419657de30f5b22 translated to Russian

Change-Id: Ic3f3856a53b9a21ac768635c229106b40923bf0b
Updated Hungarian Translations

Change-Id: Idc0b7fc9d461dae8ac203eaad51710a1760a535a
Commit I37238cf08141061bcca392e7deacfc0be23c3120 translated to Russian

Change-Id: I048e0d1f71ab17a24d83c86bd7824a942ee59a00
Merge "Settings: reorder app security to top" into kk4.4
Bluetooth: Set alias name only through Rename option

Set the alias name only when user is trying to change the
name using the Rename option of paired device.

CRs-Fixed: 539420
Change-Id: I415b6a962d8e7884b67d37b94c04df19e2c23012
Bluetooth: Don't set a null alias before unpairing

* This causes the unpair action to throw a null pointer exception and
  bring down the Settings app. Don't do this.

Change-Id: I0c60437f5ea934385a037a464743e24c9d341aca
Fix null pointer exceptions in NetworkPolicyEditor

This upload fixes a null pointer exception issue.
After this fix the modified methods return
their corresponding default values instead of null.

Change-Id: Idb94f8b808b8dd18be5e3fc92cc5560ce0f81c4f
Settings: Custom Tiles (2/2)

PS1: Reinvent logic from initial
	implementation
PS3: Unlock/Collapse Shade options
	and clean-up.
PS4: Remove unlock option.
	Too complex for average use.
PS5: Snip >100 line length =/
PS6: Fix potential NPE on rotation.
	Add scrollview to layout
	to allow scrolling if dialog
	is too large for screen
	(landscape)
PS7: Rebase on Fix tile index
PS9: Add reset buttons
PS10: Cleanup:
	Smaller and better looking
 	code by creating array
	buttons to reference.
	Rearrange voids to logical
	spots.
	Set image source rather than
	background for reset buttons
	to allow touch-highlight.
PSX: Create dependency

Change-Id: I06d773aa87bd6c1b88077ad54333a58d03f783c8
Merge "Commit I37238cf08141061bcca392e7deacfc0be23c3120 translated to Russian" into kk4.4
Commit I06d773aa87bd6c1b88077ad54333a58d03f783c8 translated to Russian

Change-Id: I5f5f6704d4f3bf2e535382e02926cf0efda65cee
Alternate default app picker (2/2)
Thanks to @kufikugel

Conflicts:
	res/values/slim_strings.xml

Change-Id: I278cba1416bf593d845ffb6654d2b447ac99ac16