History log of /packages/apps/Mms/src/com/android/mms/ui/ClassZeroActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
88302012fb70d5e925270f4788cdf4db7dea20b7 03-Dec-2013 Tom Taylor <tomtaylor@google.com> 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
/packages/apps/Mms/src/com/android/mms/ui/ClassZeroActivity.java
d64419030e1fec1e751695dab3bd7236e2fb0214 02-Aug-2012 Roger Chen <cxr514033970@gmail.com> Clean and format all imported packages

Change-Id: I2e45f5ba1d56b9b17314a8b0f4c0fc1a5d8fc4d9
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
/packages/apps/Mms/src/com/android/mms/ui/ClassZeroActivity.java
c7aa632be8e7d3ebe71f236f534ea2f0af71e04a 19-Mar-2012 Tom Taylor <tomtaylor@google.com> Add a widget for SMS/MMS

Bug 5935857

Change-Id: I1246487d974fef9de0f26e7b55fad2a940b084d5
/packages/apps/Mms/src/com/android/mms/ui/ClassZeroActivity.java
c8d727902ff6976c45285a12aab176545a7848bb 28-Feb-2012 Todor Kalaydjiev <todor@google.com> Play sound at half-volume and don't show notification for new msgs in current thread

bug: 5928707
Change-Id: I6954f8f1700daa7d4bca971f72da55d153ab5d39
/packages/apps/Mms/src/com/android/mms/ui/ClassZeroActivity.java
2b04a715ca8aba549ead0bc2b45f650386962c15 28-Sep-2011 Jake Hamby <jhamby@google.com> Update Mms app to pass SMS message format to SmsMessage.createPdu().

In order to correctly decode incoming SMS PDUs on devices that support
both 3GPP and 3GPP2 formatted messages, pass the new "format" extra
from the SMS_RECEIVED_ACTION broadcast intent to the new createFromPdu()
method in SmsMessage that takes an extra format parameter.

Change-Id: If77c31cf4a6d837d2647ea65d7ff76588c3a1624
/packages/apps/Mms/src/com/android/mms/ui/ClassZeroActivity.java
150c4179995cc0a75f934ef194372f9295957ca2 08-Apr-2011 Joe Onorato <joeo@google.com> Remove the deprecated things from Config.java. These havent been working since before 1.0.

Change-Id: I7b60931012a68116b516acc8af8a7a8fdeab97c3
/packages/apps/Mms/src/com/android/mms/ui/ClassZeroActivity.java
c4a34a0ccd414e2bba937e8abd105a0383afff35 09-Oct-2010 Tom Taylor <tomtaylor@google.com> Call dialog.dismiss()

In many of the click handlers, we neglected to dismiss the dialog.
Bug 3072307

Change-Id: Ie461492394c9f29ce2a7bb6e7f00a93068ea2bf8
/packages/apps/Mms/src/com/android/mms/ui/ClassZeroActivity.java
3b21f6ab04db5936d73e9f53032f1587389380ff 22-Mar-2010 Tom Taylor <tomtaylor@google.com> Fix DB query on the UI thread

Move a notification query on the UI thread to a worker thread.
Any calls from UI threads (which includes receivers) are made
nonblocking. Calls from non-UI threads (which includes services)
are blocking. Tested various scenarios and checked threads in the
debugger. Bug 2524765 and bug 2533501.

Change-Id: I38213b7202957bdb103058b657be04bfe6b085dc
/packages/apps/Mms/src/com/android/mms/ui/ClassZeroActivity.java
c36deab7d27940a07554cc424114d9c9ddd36552 11-Mar-2010 Tom Taylor <tomtaylor@google.com> Don't show toast

When the sms delivery report setting is turned on, only show a toast
on a delivery receipt, not for every received message. Bug 2501111

Change-Id: I29bf90ea250bd3d7f2e9f5a0bceac769bfa53e94
/packages/apps/Mms/src/com/android/mms/ui/ClassZeroActivity.java
f7e8281a223af6228e6399055a6197a1edd9bc3a 09-Mar-2010 Tom Taylor <tomtaylor@google.com> Remove mms-common

Get rid of the mms-common library and move the mms files back into the
framework where they originally came from.

Change-Id: I8ce2b0a2a3cfc6b7da13ce0e791173c09dd8f0f5
/packages/apps/Mms/src/com/android/mms/ui/ClassZeroActivity.java
627007213deb59ef938c80353c8f3598b01478b3 26-Feb-2010 Wei Huang <weih@google.com> Bug 2030420: fix SMS/MMS statusbar notification.

- don't show statusbar notification for sms/mms based on whether there are unread messages or not. Instead, add a "seen" column for the SMS and Mpdu (mms) table. Each SMS and MMS message will now have a "seen" flag in the db. If there are unseen messages, we'll show the statusbar notification. Once the user reads a thread, we'll mark a thread (and all messages in the thread) read and seen. If the user goes to the conversation list activity, we'll mark all messages "seen", but won't touch the read flag for the messages.

So now the user can have many unread messages, but still have seen all the messages, thus won't get notified repeatedly just because there are unread messages.

we'll mark a message "seen" flag to 0 for incoming SMS and MMS (pdu) messages.

to-do: mark all messages as seen when the user hits the clear notification button in the window shade.
/packages/apps/Mms/src/com/android/mms/ui/ClassZeroActivity.java
fd644551e8506266aad2b76463b51b44154ed62f 29-Jan-2010 Tom Taylor <tomtaylor@google.com> Update refs now that MMS is removed

Move MMS to mms-common library. Update imports.

Change-Id: I28fa24a68c27977eba58cb62f2667596d3abe2c4
/packages/apps/Mms/src/com/android/mms/ui/ClassZeroActivity.java
6be18bedb5b87dbbcdb54f37d5a0945bd0f71377 17-Dec-2009 Tom Taylor <tomtaylor@google.com> Unbundling work

This is the first step in unbundling the Mms app. Some of the changes include:
- moving some of the Mms code from the framework into the app itself.
- same with emoticons
- remove dependency on internal drawables and add local copy to mms
- some dependencies on various internal classes now moved to android-common library
/packages/apps/Mms/src/com/android/mms/ui/ClassZeroActivity.java
43bcf48daea4e763811dffa75f62c2b4a3a39310 11-Aug-2009 Yong Liu <yong.liu@motorola.com> Display mode 00 exception fix

Issue: Click HOME after receiving display-mode-00 message, then launching messaging
throws exception.
/packages/apps/Mms/src/com/android/mms/ui/ClassZeroActivity.java
044856d87b39a0ffb581ad946968da4598198f15 07-Aug-2009 Satish Roddom <satishroddom@motorola.com> Cancel button on the notification dialog, when
Displaymode00 message is recieved is not proper.

Whenever the string in the notification is small,
the Cancel button is getting cut and the second
half is displayed below.
/packages/apps/Mms/src/com/android/mms/ui/ClassZeroActivity.java
4da6513065fbcfbf7fee9a18176ce62d2f62c825 24-Jun-2009 Yong Liu <yong.liu@motorola.com> Display Mode 00 for CDMA Messaging

The Message Display Mode subparameter is used to indicate to the mobile
station when to display the received message.

The Message Display Mode subparameter can take on the following parameters:

'00': Immediate Display: The mobile station is to display the received
message as soon as possible.
'01': Mobile default setting: The mobile station is to display the received
message based on a pre-defined mode in the mobile station.
'10': User Invoke: The mobile station is to display the received message
based on the mode selected by the user.
'11': Reserved

So when phone receives SMS with display mode 00, the message has to be displayed
immediately. The current android code supports Display mode 00 but it does not
give the additional requirements. User has choice to save it or discard it after
reading. If the user doesn't respond in 5 minutes, the message will be saved to
the database automatically.
/packages/apps/Mms/src/com/android/mms/ui/ClassZeroActivity.java
72735c62aba8fd2a9420a0f9f83d22543e3c164f 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Mms/src/com/android/mms/ui/ClassZeroActivity.java
892f2c5bf965b1431ae107b602444a93f4aad4a3 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/apps/Mms/src/com/android/mms/ui/ClassZeroActivity.java
8eed706474910ccb978acda03e85d3261037da6e 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/packages/apps/Mms/src/com/android/mms/ui/ClassZeroActivity.java