History log of /frameworks/base/core/java/android/provider/Telephony.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
994da2ad3242407fd822e6b35e3d302a3667d9c3 10-Nov-2011 Tom Taylor <tomtaylor@google.com> Revert "Add new secure setting for controlling Messaging notifications"

This reverts commit 03da2f00aac04e6565a02cf5a9bf6bb1ec926930.

Committer: Tom Taylor <tomtaylor@google.com>

On branch revertsetting
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)

modified: api/current.txt
modified: core/java/android/provider/Settings.java
modified: core/java/android/provider/Telephony.java
modified: packages/SettingsProvider/res/values/defaults.xml
modified: packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java

We've decided not to disable messaging notifications with a secure setting.
Instead, all the work will be done within the messaging app itself.

Change-Id: Icde6894e76da1007b6026c8ec7dc56e488453c06
/frameworks/base/core/java/android/provider/Telephony.java
03da2f00aac04e6565a02cf5a9bf6bb1ec926930 07-Nov-2011 Tom Taylor <tomtaylor@google.com> Add new secure setting for controlling Messaging notifications

Bug 5552615
We're adding a new intent to allow 3rd party apps to disable
the Messaging app's notification. We want any app to be able to query
the setting of whether sms notifications are on or off, but only allow
system apps, particularly the Messaging app, to change that setting.
Other apps can change the setting by firing off an intent which brings
up a dialog activity in the Messaging app that'll let them turn off
Messaging notifications.

Change-Id: I4d2721191b86010efb383a24c28d911496440657
/frameworks/base/core/java/android/provider/Telephony.java
fbf1d27d2444cc364536e460d019063538a97e46 31-Oct-2011 Tom Taylor <tomtaylor@google.com> NPE in Threads.getOrCreateThreadId(Telephony.java:1275)

Bug 5541883
Remove obsolete debug statement.

Change-Id: I8d2f6e33f36c920838460bca7a1db117dd0edf7b
/frameworks/base/core/java/android/provider/Telephony.java
b7945cae5ad0feaad09378d0db77f2b3105e5235 22-Sep-2011 Jake Hamby <jhamby@google.com> Enable support for multiple SMSDispatchers in CDMALTEPhone.

Refactor framework to support multiple SMSDispatcher objects on
dual-mode devices that require support for both 3GPP and 3GPP2
format SMS messages. Each dispatcher registers to receive events for
the appropriate message format.

Note: All applications which handle incoming SMS messages by processing the
SMS_RECEIVED_ACTION broadcast intent MUST pass the "format" extra from the intent
into the new createPdu() method in android.telephony.SmsMessage that takes an
extra format parameter. This is required in order to correctly decode the PDU on
devices which require support for both 3GPP and 3GPP2 formats at the same time,
such as CDMA/LTE devices and GSM/CDMA world phones.

- moved code to manage device storage events from SMSDispatcher to a
new class, SmsStorageMonitor, which is shared among all dispatchers.

- moved code to monitor per-application outgoing SMS usage from
SMSDispatcher.SmsCounter to a new class, SmsUsageMonitor, which
is shared among all dispatchers.

- fixed a bug that prevented CDMALTEPhone from setting the MCC/MNC
operator numeric value in the telephony provider from the UICC,
as GSMPhone does, when the SIM records have loaded.

Change-Id: I2789ac07b6ca2948138bca7f75481f9b31514f20
/frameworks/base/core/java/android/provider/Telephony.java
77e6a55f2fab30628cb4b5955b17e509eeaf5d74 29-Sep-2011 Mark Wagner <mxw@google.com> bugfix 5381702 MMS app puts temporary files on sdcard in wrong location

move this code into the app

Change-Id: Ieca6c603ee1163524ddb855800ade5e5a8fff0e5
/frameworks/base/core/java/android/provider/Telephony.java
723facc20b6545b7ac4e65883be096d517fb3c10 01-Sep-2011 sinikang <sinikang@samsung.com> Add OTADM feature for Verizon requirement.
- GsmDataConnectionTracker.java
<in function createApnList>
: modify parameter type for new ApnSetting.
(carrierEnabled has changed to boolean from integer,
BEARER has changed to integer from string).
<in function createAllApnList>
: modify telephony db query statement using carrierEnabled. (carrier_enabled: 1 enable apn, 0: disabled apn)
<in function buildWaitingApns>
: modify apn management code when current RAT (radio access technology) is LTE or EHRPD.
add internal function named needToCheckApnBearer to check current RAT is LTE or EHRPD.
- ApnSetting.java
: add two member variable (carrierEnabled: apn enable/disable , bearer : Radio Access Technology)
- Telephony.java
: add two static string CARRIER_ENABLED & BEARER.
- ApnSettingTest.java
: add two assertEquals in function assertApnSettingEqual.
add CARRIER_ENABLED & BEARER parameters.

bug: 4991683
Change-Id: I9450c220009c3093b1e09e8ac9cd0faa0a975067
/frameworks/base/core/java/android/provider/Telephony.java
d4f1bacca50a74a74a02bf6a242bb22c495e4034 09-Jun-2011 Jake Hamby <jhamby@google.com> resolved conflicts for merge of 7ca13deb to master

Change-Id: If34814d6c70cf63eca9bd816845389f6785518ae
7d259626d009a45195ec341646ce06658b842e40 08-Jun-2011 Jake Hamby <jhamby@google.com> resolved conflicts for merge of 0cb17a52 to honeycomb-plus-aosp

Change-Id: I784e6d1946fa708f63becece070c7090cec6f1e2
0cb17a52ee278e6fd1575a086dac155e11574287 07-Jun-2011 Jake Hamby <jhamby@google.com> resolved conflicts for merge of ab79ee4a to gingerbread-plus-aosp

Change-Id: Ib885176060f65ef3286a24c7b9cae1a673666275
ab79ee4adcbc6eb9fb9c509766753f65d3857739 27-Apr-2011 Jake Hamby <jhamby@google.com> Enable full support for SMS Cell Broadcast.

Implement full support for SMS Cell Broadcast (3GPP TS 23.041).
Includes support for ETWS and CMAS emergency message types.
Includes GSM and UMTS support (CDMA will be added later).

Note: the change to GsmAlphabet.java is only necessary if the
SMS national languages support patch has been applied. If that
change has not been applied, then the changes to GsmAlphabet.java
in this patch set can safely be ignored.

Change-Id: Ia0362c53695b8ef9a0982f558f1cffa912def34b
/frameworks/base/core/java/android/provider/Telephony.java
43a17654cf4bfe7f1ec22bd8b7b32daccdf27c09 07-Apr-2011 Joe Onorato <joeo@google.com> Remove the deprecated things from Config.java. These haven't been working since before 1.0.

Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
/frameworks/base/core/java/android/provider/Telephony.java
9d7d62801ddb206d2ea96d74864a9edfe54d2eee 12-Mar-2011 Wink Saville <wink@google.com> Do not merge: Revert the revert of "LTE Changes for Telephony including Multiple PDN support and IPV6 support"

This reverts commit eca208fae6d1b6ae9c8c0e42eee092e86dbddbb7
and is the first of the LTE commits in master being back ported
to the LTE branch.

Change-Id: I17d4a1b779ed74bc7dfb409d2c1a30f60fdb27c7
/frameworks/base/core/java/android/provider/Telephony.java
65eda063861e3f05f8b4968e58907c612a0489d1 18-Nov-2010 Fredrik Roubert <roubert@google.com> Add the field date_sent to keep track of the date a message was sent.

Change-Id: I7051cf9c0980f82215212b21e0fb6d3b503e43fa
/frameworks/base/core/java/android/provider/Telephony.java
362da509897a497848860ea8b9944ab192ad1e4c 04-Mar-2011 Lorenzo Colitti <lorenzo@google.com> am b028ce55: Merge "Add a protocol property to the APNs and use it." into gingerbread

* commit 'b028ce55cac88f1778cdad59c63c52a5b66afb69':
Add a protocol property to the APNs and use it.
eca208fae6d1b6ae9c8c0e42eee092e86dbddbb7 03-Mar-2011 Wink Saville <wink@google.com> DO NOT MERGE: Revert "LTE Changes for Telephony including Multiple PDN support and IPV6 support"

This reverts commit 2b8bcfe5b74e1a34d136f4ff46e3c94397f38f82.

Change-Id: Ifc4e9aaccb54e065a36380710694cd6e4d347636
/frameworks/base/core/java/android/provider/Telephony.java
3c4e929cfdfe5573e1be3ee0331fc6029e45c382 29-Dec-2010 Lorenzo Colitti <lorenzo@google.com> Add a protocol property to the APNs and use it.

1. Database changes:
- Add a protocol and a roaming_protocol column to the
carriers table in the telephony provider database.
- Set the protocol and roaming_protocol fields when
creating APN objects from the database.

2. ApnSetting class changes:
- Add protocol and roamingProtocol fields to the
ApnSetting class that encapsulates APN settings within
the framework.
- Add the fields to ApnSetting.toString and support a new
syntax containing the fields in ApnSetting.fromString.
- Add a unit test for ApnSetting.

3. Telephony changes:
- Specify the APN protocol when setting up a data call,
using protocol when not roaming and roaming_protocol
when roaming.

This change depends on #86896 in the telephony provider,
which adds the new column to the database schema on
upgrades.

Bug: 3333633
Change-Id: If3d9ed4c851d0192849df0d64581db03b066e052
/frameworks/base/core/java/android/provider/Telephony.java
2b8bcfe5b74e1a34d136f4ff46e3c94397f38f82 25-Feb-2011 Wink Saville <wink@google.com> LTE Changes for Telephony including Multiple PDN support and IPV6 support

Added init for CDMAPhone.java

Change-Id: I2392b5ad3382ee1993537b8477ef00dd036c6fe9
/frameworks/base/core/java/android/provider/Telephony.java
24401c79665e9af458fbe646165c68434335dda4 05-Feb-2011 Lorenzo Colitti <lorenzo@google.com> Merge "Add a protocol property to the APNs and use it."
8e63c3e33b2dc8ed8020915ceee011b99cbad99f 03-Feb-2011 Lorenzo Colitti <lorenzo@google.com> Add a protocol property to the APNs and use it.

1. Database changes:
- Add a protocol and a roaming_protocol column to the
carriers table in the telephony provider database.
- Set the protocol and roaming_protocol fields when
creating APN objects from the database.

2. ApnSetting class changes:
- Add protocol and roamingProtocol fields to the
ApnSetting class that encapsulates APN settings within
the framework.
- Add the fields to ApnSetting.toString and support a new
syntax containing the fields in ApnSetting.fromString.
- Add a unit test for ApnSetting.

3. Telephony changes:
- Specify the APN protocol when setting up a data call,
using protocol when not roaming and roaming_protocol
when roaming.

This change depends on #94983 in the telephony provider,
which adds the new column to the database schema on
upgrades.

Change-Id: Ic4e3f02e48f17990f657187b9919d265671f0138
/frameworks/base/core/java/android/provider/Telephony.java
baaaca1c6164eff17488a178859295a1d5be9171 03-Feb-2011 Jean-Baptiste Queru <jbq@google.com> Merge ee4c17ee from gingerbread

Change-Id: Ide109e517fb7610d60f31ba6aa99fe665b59d690
c5996b9969b241dfe647c7de4d7995c6e848d1db 31-Jan-2011 Sang-Jun Park <sj2202.park@samsung.com> Fix delivery report error with PENDING status in SMS

1. According to TS 23.040, TP-Status values is changed properly.
2. When processing Status Report, it should be checked whether tpStatus is PENDING or FAILED.

Change-Id: I91c315cfb363f3e4b936c6b6b1a01083687a580f
/frameworks/base/core/java/android/provider/Telephony.java
090ac9f7dd883aa75c899745182471d409a2b762 12-Oct-2010 Wink Saville <wink@google.com> am a3100314: Merge "Remove some PII." into gingerbread

Merge commit 'a310031438877a7b70a6ac30eb2f2b33e06907e6' into gingerbread-plus-aosp

* commit 'a310031438877a7b70a6ac30eb2f2b33e06907e6':
Remove some PII.
a42880749b368e60caee77dd682d434e48ca96bd 12-Oct-2010 Wink Saville <wink@google.com> Remove some PII.

Change-Id: I4df27119b6bbd28bf950516fd6f44676a8e04f06
/frameworks/base/core/java/android/provider/Telephony.java
c9790716f0c759d8bb197f4237a2901e5f561b5b 27-Jan-2010 Dan Griffin <dan.griffin@wdsglobal.com> Enhance WspTypeDecoder to decode Content Type Parameters

This patch enables WspTypeDecoder to correctly parse content type
parameters as described in the Wap230 WSP specifications
(wap-230-wsp-20010705-a section 8.4.2.24) which are then passed on
as part of the WAP_PUSH intent notification.

It also recognises all Well Known WSP Content types, and simplifies
their retrieval (i.e. a well known content type will always be
available through the WspTypeDecoder.getValueString() method).

Change-Id: I0eb3f9ac287aa7cb53312777c4be54b1939fa857
/frameworks/base/core/java/android/provider/Telephony.java
798e2d3d0c80e269ead1489dbc3f2f762f1e52b5 17-Jun-2010 Christian Mehlmauer <FireFart@gmail.com> Replaced /sdcard with Environment.getExternalStorageDirectory()

Change-Id: Id789f44a8569e307b1b7ab15eb266c9ce7ef2029
/frameworks/base/core/java/android/provider/Telephony.java
0dd3bdab24c1f74ffdd8f9e193a4eb883724b1b8 11-Mar-2010 Tom Taylor <tomtaylor@google.com> Add a new meta_data column

Add a new column to both the pdu and sms tables. This change just adds
the column definitions. Bug 2505620

Change-Id: I34b2794566a2900932ae34bdded4ed361d503d07
/frameworks/base/core/java/android/provider/Telephony.java
ee49fedc26c3d14ad4a1189eb890f897115aa55b 26-Feb-2010 Wei Huang <weih@google.com> define the "seen" column for sms and pdu tables.
/frameworks/base/core/java/android/provider/Telephony.java
2269d1572e5fcfb725ea55f5764d8c3280d69f6d 25-Feb-2010 Dianne Hackborn <hackbod@google.com> Re-arrange android-common so framework no longer links with it.

This is the framework part, moving classes around so the framework
no longer needs to link to android-common. Makes some APIs public,
others that didn't need to be public are private in the framework,
some small things are copied.
/frameworks/base/core/java/android/provider/Telephony.java
5e342fa3260044353705c946d3ae62c89df52ee6 29-Jan-2010 Tom Taylor <tomtaylor@google.com> Remove MMS from the framework

The MMS code has been moved into the mms-common library.
Move SqliteWrapper (and make it hidden) into the database
directory because Telephony.java depends on it. Create a mmscommon
library similar to androidcommon for a number of files used both
by the telephony layer, by mms, and by myfaves.

Change-Id: I2e23e87c4961b87c42a4c8a63f812fa9e0e44dec
/frameworks/base/core/java/android/provider/Telephony.java
53f1c3486800c797708fa211d300f07c6de34514 13-Jan-2010 Mark Wagner <mxw@google.com> constants for search
/frameworks/base/core/java/android/provider/Telephony.java
d5b325aaaca7e5197851d26332f48b917d961b9d 04-Nov-2009 Takaoka G. Tadashi <takaoka@google.com> Add WSP header to WAP_PUSH_RECEIVED intent in addition to data
Import CL 146651 from //branches/cupcake_dcm
/frameworks/base/core/java/android/provider/Telephony.java
ded0e6447ed6e0f200dbca13e43c6cf4efc16a1d 18-Nov-2009 Dan Egnor <egnor@google.com> Create android-common static library which gets included in frameworks.jar,
but can also be used by unbundled apps. Move android.text.util.Regex there as
a starting example, renamed to a more sensible (?) com.android.common.Patterns.
Set up a corresponding test package, and move RegexTest (to PatternsTest).
Update clients.
/frameworks/base/core/java/android/provider/Telephony.java
e86721843333a00a9ff279af988d702e2da6bf2c 28-Oct-2009 Tom Taylor <tomtaylor@google.com> Add error code column to SMS


Also add code to save an error code in the DB.
/frameworks/base/core/java/android/provider/Telephony.java
2811f1625ebdb7f7483b8b866694474f89112d8c 26-Oct-2009 Jaikumar Ganesh <jaikumar@google.com> Add Authentication Type field to the APN settings.

Use auth type to setup data connection.
This value defaults to -1 (unset) to maintain compatibility.
When the value is -1, the auth type gets set to 0 (if no user is specified)
or 3.
Bug: 181700
/frameworks/base/core/java/android/provider/Telephony.java
6b3707452c5921c89258371eec140b0fb76766f8 02-Oct-2009 Wei Huang <weih@google.com> bug 2161715: add the .jpg extension to the temp sdcard image file name so MMS can read the JPEG data using a file uri.

Change-Id: I1453950e406f1991e78530795ed28e6b4a7cf8c6
/frameworks/base/core/java/android/provider/Telephony.java
d588cb7fc3a6db9100a50e8a598bfd83b5c4c6da 23-Sep-2009 Wei Huang <weih@google.com> add definition for Mms.TempStorage content uri and filename.

Change-Id: Idfab085f2ecc8c7c835208805ccf1d94d6380780
/frameworks/base/core/java/android/provider/Telephony.java
7e207afd497f8822ca34babe1d9cd1f6d5402fad 02-Sep-2009 Tammo Spalink <tammo@google.com> Reject (NAK) CDMA SMS with unknown teleservice ids.

Addresses issue:
http://buganizer/issue?id=2066191

Change-Id: I56124379534bf19f128b6228749c7ee2ef455fed
/frameworks/base/core/java/android/provider/Telephony.java
513069c39cd6610db2919c09abea2ff73158356a 02-Sep-2009 Tom Taylor <tomtaylor@google.com> Make a path constant

Add a constant for the new locked uri.

Change-Id: I3bad24ac7ee806442bdd5e38be61005f081edf0d
/frameworks/base/core/java/android/provider/Telephony.java
a01726a7fdd872cd8e1e8a9dfa52fb9cdbf01019 28-Aug-2009 jsh <jsh@google.com> Some fixes to SMS processing in the framework.

Always process class 0 and other unstored SMS (eg, MWI). We were
rejecting all SMS messages in storage full situations, but certain
messages do not require storage.

Also, notify apps when the framework rejects MT SMS, with new
SMS_REJECTED_ACTION intent.

b/2066775
b/2015906
/frameworks/base/core/java/android/provider/Telephony.java
e43a6a02dd9124079c69f3a5a01e16df4f85ee05 21-Aug-2009 Satish Roddom <satishroddom@motorola.com> Compose Message "To" field allows adding sequence of characters as contact

When we select this option, this sequence of characters (which is neither a
valid email address nor a phone number), gets stored in contact with type MOBILE.

Fix: In function canAddToContacts, adding a check to validate whether the contact
to be added is a valid email address or phone number. If not, user will not be shown
with the option "Add to Contacts".
/frameworks/base/core/java/android/provider/Telephony.java
6d713b7616ed79c98f138e01593d4c2a1ee194fd 15-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 4caac2bb: Merge change 7140 into donut

Merge commit '4caac2bb4c8616edf8224408931ffc0e532537de'

* commit '4caac2bb4c8616edf8224408931ffc0e532537de':
Add more logging to track down a monkey bug
f748f22f4e62d549dde8f56e0f52476f061f7bc0 14-Jul-2009 Tom Taylor <tomtaylor@google.com> Add more logging to track down a monkey bug

The monkey has found a situation where getting or creating a thread id is
failing. Add more logging code to help track down the bug.
/frameworks/base/core/java/android/provider/Telephony.java
54a26bc85f4fe972e929e42b986c65a710a229b3 11-Jul-2009 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of 889c2d37 to master
854060af30f928c0a65591e9c8314ae17056e6b8 10-Jul-2009 Dianne Hackborn <hackbod@google.com> Fix bug #1873249i: Apps can DoS/brick device

This is the problem where various things are listening for broadcasts
(such as battery status, PIN/PUK/Network) that an application can send
to cause harm to the system.

Solving this is tricky because many of these broadcasts are sticky,
and I have never figured out how to do permissions with sticky
broadcasts in a sane way. So instead, I am going to punt on the
general problem and just brute force it:

There is new a way for system components to declare specific
broadcast actions to be protected, which means that only the system
and the phone can send them. This is good enough for now. None
of it is exposed in the public API so we can make something a little
less stupid in the future if we ever need to.
/frameworks/base/core/java/android/provider/Telephony.java
f4f8a7fe467c2f7514bf528d0a3e8926c2813c0f 19-Jun-2009 Mark Wagner <mxw@google.com> mods so that we can search mms messages
/frameworks/base/core/java/android/provider/Telephony.java
0ff9833c9826978d01da61d950f88af26c03c957 11-Jun-2009 Mark Wagner <mxw@google.com> Add a search uri constant for mms/sms.
/frameworks/base/core/java/android/provider/Telephony.java
55dac1281eb81b6bb255991a0455339b1dbfb3d0 04-Jun-2009 Tom Taylor <tomtaylor@google.com> Add "locked" column to sms and pdu tables.

A user can lock an SMS message and prevent it from being auto-deleted.
/frameworks/base/core/java/android/provider/Telephony.java
867641ece36e2fd17faaea79cf19506ab17177c6 28-May-2009 jsh <jsh@google.com> Telephony support for SMS memory reporting to the network.

- Use ordered broadcast to allow receivers to set a result code.
- Ack SMS with result code.
- New RIL command to report memory status.
- Fixed a typo in a Gservices setting.
- Merge in CL 137895 (hold a wake lock while broadcasting SMS_RECEIVED).
/frameworks/base/core/java/android/provider/Telephony.java
767a662ecde33c3979bf02b793d392aca0403162 02-Apr-2009 Wink Saville <> AI 144185: Integrate cdma into the main code base.

Automated import of CL 144185
/frameworks/base/core/java/android/provider/Telephony.java
59e5ba47dd43e102c35def18b4871a16a4d7114a 25-Mar-2009 Ficus Kirkpatrick <> Automated import from //branches/donutburger/...@141997,141997
/frameworks/base/core/java/android/provider/Telephony.java
9b16598f701a629a5bf042471ba92ddcfa53f835 25-Mar-2009 Ficus Kirkpatrick <> Automated import from //branches/donutburger/...@141738,141738
/frameworks/base/core/java/android/provider/Telephony.java
4df2423a947bcd3f024cc3d3a1a315a8dc428598 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
/frameworks/base/core/java/android/provider/Telephony.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/provider/Telephony.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/provider/Telephony.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/provider/Telephony.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/provider/Telephony.java