Make "SD Card removed" notification dismissible if the removed SD Card is not the primary storage

The Galaxy S uses the "external SD Card" as the extended storage
and it the notification should be dismissible as it's okay not
to have it.

Additionally, this patch also not hide the USB storage mount dialog
if the removed storage is not the primary storage

Adapted for CM 11

This also includes this commit by @pawitp

https://github.com/CyanogenMod/android_frameworks_base/commit/d07929e4f7182b1684b8a7ed89c58c177ae12c93

Change-Id: I8bab6573766dea68afc919d5fdb3aa606404c2fa
Base: option to disable fullscreen keyboard (1/2)
[2/2] Left handed navbar during landscape mode

This patch allows for the navbar to be moved to the left side of the
screen during landscape mode. Left handed people are more used to this
option.

This patch must go with another patch that changes
packages/apps/Settings

Screenshot: http://i.imgur.com/jWqJcEV.png

Change-Id: Ic95e3fda1f55efd2ec908c8d7226e638ec0ab80a
SystemUI: various fixes to data type display

- Hide data type when Wi-Fi is in use (CAF bug)
- Display "!" when data is disabled (CAF bug)
- Display type in QS when Wi-Fi is connected to captive portal (AOSP bug)

CAF bug was introduced in 228bccb9d9eaabf9b3884500e4351fa5091be5aa

The proper logic is described at https://android.googlesource.com/platform/frameworks/base/+/23dd176

Change-Id: I7a34077d604c66c357809c634fe64c570a16e260
SystemUI: MSim: hide subs label on KeyGuard

This is already displayed on the top-left corner

Change-Id: If671e7875693143a721f37cd090aa28b2512800e
SystemUI : Fix clear app data crash in recents panel

Change-Id: I78d48fae2ba6ac9727d4997e24af8e4b134950ab
android_servers: Fix the duration argument for CPU_BOOST

Clear incompatible pointer conversion errors in 64bit

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

All credits to SlimRoms / kufikugel
FW_Base - Wifi notifications: notify when wifi connects [1/2]

Options:
off (default)
a dry white toast
a notification
a notification with a sound

For those of us that survive on wifi islands in small college towns this
is
pretty nice to have

Any notification within 30 seconds of broadcast intent
ACTION_BOOT_COMPLETED
will be canceled to prevent startup notification spamming. 8 (default)
of the
previous connections are remembered and it will update the
notification's content
accordingly if you've restored a connection.

PS2: fix string WiFi -> Wi\u2011Fi for translations
PS3: strings compatibility for Japanese & wrap at 100 chars per line

Change-Id: I1eea671a9c8edeb5f237f7fdb2f13c2b76fc1c75
Signed-off-by: STELIX <ssspinni@gmail.com>
Wifi notify: Remove 1 line of code

Change-Id: I13b5cc7fdbff4d4ba52a1caad7c741ba877cc35a
Base: forward port Headsup options (1/2)

-Global on/off
-Blacklist and Do not disturb

Conflicts:
	core/java/android/provider/Settings.java
HeadsUp: add timeout option (1/2)

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
HeadsUp: Swipe options

-left swipe dismiss
-right swipe put into background
-swipe down opens notification drawer and moves the notification into it
HeadsUp: do not show if notification drawer is visible
HeadsUp: fix headsup for incoming calls
Base: add Polish translations
HeadsUp: enable by default

also remove unnecessary code