Android denial of service attack using class 0 SMS messages

Bug 9702645
Bug 11970403 - Change to ClassZeroActivity to singleTask

Cherry pick the change from master.

Making every AlertDialog immediately visible can lead to exhaustion
of graphics-related resources, typically memory, resulting in a
broken bufferqueue/hw renderer, and subsequent system crash.

Make ClassZeroActivity a singleTask activity, and queue incoming
messages if one is already being displayed.

Change-Id: I0aef7b857364acc404e79581ba5e503571065483
Merge tag 'android-4.4.2_r1' into HEAD

Android 4.4.2 Release 1

Change-Id: Ie8e43fb971183f172fa8f2112b0cc103be6614f6
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_packages_apps_Mms into kitkat