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
Import translations. DO NOT MERGE

Change-Id: Id82f32c4e67b791c497dac8a5366e83a3c3befee
Auto-generated-cl: translation import
Import translations. DO NOT MERGE

Change-Id: Ib81400a83d3319e1a69a620ac64dba04a0324aaf
Auto-generated-cl: translation import
Import translations. DO NOT MERGE

Change-Id: I3ad993c5a135428dc543d30bc08eb9139127bf6e
Auto-generated-cl: translation import
Import translations. DO NOT MERGE

Change-Id: Ib50c04b62425bf3cc09512ef63c28430ddd0706b
Auto-generated-cl: translation import
Import translations from crowdin.net

Change-Id: I805bd010650d619f1e9ba85651a830cacd4f0e49
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
MMS: Disable Android 4.2 specific hack regarding keyboard behavior.

In android 4.2 the keyboard activity resizing events were delayed by about
a half a second and there was no fade animation. This caused some apps
to behave oddly when displaying the keyboard upon loading including
the MMS app which google had implemented a hack to workaround this glitch.
In android 4.3 and newer the old 4.0-4.1 behavior was restored, making this
hack unnecessary. Disabling the hack removes the 1 second delay from the
message view displaying that was necessary for the 4.2 behavior but no longer
needed.

Change-Id: Ia9ba1d9217e26508285c1aea70aff9788a19f95e
Merge "MMS: Disable Android 4.2 specific hack regarding keyboard behavior." into kitkat
Import translations from crowdin.net

Change-Id: I4c5dad462122293d14218cdf87f2f423ad21655d
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Mms: Allow text input field to expand up to 6 lines

Change-Id: Id2f2a09f5d7f0191f1747ac2bdb470c08c61a5b8
Import translations from crowdin.net

Change-Id: I46c7d2c190667213c8310238f8144766c8620b50
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Import translations from crowdin.net

Change-Id: Ibc7b9e9d1fb1d2fe0579a1c7d61833d743069524
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Added vibrator detection logic to remove vibrate setting.

Bug 1443002

Change-Id: I8cc4441bc5b6ab6cfdbb98b60b6108c9e3c15272
Reviewed-on: http://git-master/r/360038
GVS: Gerrit_Virtual_Submit
Reviewed-by: Eric Chuang <echuang@nvidia.com>
Reviewed-by: Tuan Tran <tutran@nvidia.com>
Tested-by: Tuan Tran <tutran@nvidia.com>
Reviewed-by: Peter Zu <pzu@nvidia.com>
German translation: SMS delivery notification

Changed the SMS delivery notification, so it doesn't imply that you have just received a message.

Change-Id: I095af7f3a2746cd0d7451200bc0a0a0e517a9469
Avoid ConversationList/ComposeMessage activity leaks

First, ConversationList activity leak, Contact.mListeners are only unbound
when ListItemViews are recycled, without considering the activity exit case
or message delete case.
Second, ComposeMessage activity leak: use SoftReferences instead of
HardReferences for the slideshow cache.

Change-Id: Ic235b31403b26aba16bf6b8b51bff7b4c6f68d98
Signed-off-by: Guobin Zhang <guobin.zhang@intel.com>
Generate an unique source for each TextModel

Change-Id: I1ce0e64df2f9e6604700f108f87059668b3d49d0
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
Merge "German translation: SMS delivery notification" into kitkat
Merge "Avoid ConversationList/ComposeMessage activity leaks" into kitkat
Merge "Generate an unique source for each TextModel" into kitkat
Import translations from crowdin.net

Change-Id: I0ef327448fa7fe586b4781e14ae52e23d6fc5277
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>