Commit Graph

5090 Commits

Author SHA1 Message Date
Jeff Davidson
beb90fda29 Expose SmsMessage#FORMAT_ constants as public APIs.
These constants are intended to be arguments for
SmsManager#injectSmsPdu which is already public, and they are
referenced from CTS as well. Therefore, they should also be public.

Also add a @StringDef for these values and clean up the Javadoc while
we're here to use properly-linked references to other APIs.

Change-Id: I4e513f49f18350b93cccdc0d8a5847d31eefe7e2
Fixes: 67751433
Test: TreeHugger (no functional changes)
2017-10-24 18:25:26 +00:00
Jordan Liu
70507c3507 Merge "Add config to display VM number as default number of CF" am: 3e26cb18fb am: 9953542c3a
am: d44b0c454f

Change-Id: I8b9025467e1ebf9c74438eddbf1273fc53f3af53
2017-10-23 21:04:29 +00:00
Jordan Liu
d44b0c454f Merge "Add config to display VM number as default number of CF" am: 3e26cb18fb
am: 9953542c3a

Change-Id: I93696ab322ca9a2edcbf03efeb33cbf9f6c6279a
2017-10-23 20:48:04 +00:00
Jordan Liu
9953542c3a Merge "Add config to display VM number as default number of CF"
am: 3e26cb18fb

Change-Id: Ie332a31b699b375d7a9ff56f314346546244010e
2017-10-23 20:39:20 +00:00
Jordan Liu
3e26cb18fb Merge "Add config to display VM number as default number of CF" 2017-10-23 20:27:28 +00:00
Hall Liu
8f34e0b231 Merge "Check success before registering DeathRecipient" am: b6c4bc311a am: c336947da4 am: 8e055b131a
am: 0e09d9d9d5

Change-Id: Iabe447a1f7ff3b101bc176a00a470d7776e2629c
2017-10-20 23:54:21 +00:00
Hall Liu
0e09d9d9d5 Merge "Check success before registering DeathRecipient" am: b6c4bc311a am: c336947da4
am: 8e055b131a

Change-Id: Ic98d58505c311250fad7220bec88fcd89846b14e
2017-10-20 23:43:54 +00:00
Hall Liu
c336947da4 Merge "Check success before registering DeathRecipient"
am: b6c4bc311a

Change-Id: Ie4a8f3ea3374d30a6a4dd9d22d9d48df0075c560
2017-10-20 23:22:13 +00:00
Hall Liu
b6c4bc311a Merge "Check success before registering DeathRecipient" 2017-10-20 23:10:09 +00:00
Treehugger Robot
b1092bfd55 Merge "Refactored area update info support" 2017-10-20 19:19:09 +00:00
Qiong Liu
48fe53f026 Add config to display VM number as default number of CF
Add config to determine whether to display voicemail number when
call forwarding number is null. The default value is false.

Test: manual - checked the voicemail number shown as default
Bug: 67855679
Change-Id: Iffa7f9a31757e2df2535abf0269a768ff4e67e8c
2017-10-20 15:38:38 +09:00
Pengquan Meng
f44efafe75 Merge "[framework] Fixed signal strength issue" am: 6d98743048 am: c671962c9a am: af9207272a
am: 00c9323828

Change-Id: I0e0dcfe8c5cf366a27d64d460328b99be184fcc5
2017-10-20 06:23:33 +00:00
Pengquan Meng
00c9323828 Merge "[framework] Fixed signal strength issue" am: 6d98743048 am: c671962c9a
am: af9207272a

Change-Id: I86d83b0b51a5a9b73ddd181f4962ac1b9647bb1c
2017-10-20 06:13:15 +00:00
Pengquan Meng
c671962c9a Merge "[framework] Fixed signal strength issue"
am: 6d98743048

Change-Id: I5d6ff6f0419b658ee9786567087b95ced5e70233
2017-10-20 05:52:43 +00:00
Pengquan Meng
6d98743048 Merge "[framework] Fixed signal strength issue" 2017-10-20 05:44:42 +00:00
Jack Yu
143abfd113 Refactored area update info support
1. Refactored area update information support so it
   is not limited to channel 50 and Brazil.
2. Added channel 60 for India.

Test: Manual
bug: 37746109
Merged-In: Ic1c4683ecfe0556547ba15eb9b9e780644f17bff
Change-Id: Ic1c4683ecfe0556547ba15eb9b9e780644f17bff
(cherry picked from commit 93c4285623)
2017-10-19 17:28:11 -07:00
Pengquan Meng
7082ef0360 [framework] Fixed signal strength issue
The flag GSM of signal strength maybe unknown under OOS, but the signal
strength changed has been notified. In this case, set the flag GSM based
on the signal strength data.

Test: manual
Bug: 62431424

Change-Id: I9e63c45ea8b7c6c37e6ecd2478808c310c3d69ae
2017-10-19 18:54:40 +00:00
Jordan Liu
5063549348 Merge "Add config to skip showing CF fail-to-disable dialog" am: d32138d78a am: a0df3496d3 am: 4025ccb0a1
am: 2cdc98d7a6

Change-Id: I0924e5bf275376f28ad94f2749d35357a4e618db
2017-10-17 22:16:48 +00:00
Jordan Liu
2cdc98d7a6 Merge "Add config to skip showing CF fail-to-disable dialog" am: d32138d78a am: a0df3496d3
am: 4025ccb0a1

Change-Id: Ida23475584fb0324ce12af05af422230b170b1a4
2017-10-17 21:36:11 +00:00
Jordan Liu
a0df3496d3 Merge "Add config to skip showing CF fail-to-disable dialog"
am: d32138d78a

Change-Id: I0bb3388b4f2e0243049316c3548aacf6f034ffd2
2017-10-17 21:06:58 +00:00
DongYuchen
439f16d4ad Add config to skip showing CF fail-to-disable dialog
Add config to skip showing CF fail-to-disable dialog. Because it is not
always correct to show fail-to-disable dialog. It depends on the way
of NW CF handling. The default value is set to false.

Test: manual - checked the call forwarding fail dialog was not shown
Bug: 35790386
Change-Id: I8b0e3d15736d95df8fcac205cb9a3ef2f8579988
2017-10-17 20:36:02 +09:00
Sooraj Sasindran
aab5a8a087 Merge "Enhance network scan request" am: b9f49e671a am: d5987f9722 am: c1333187cd
am: c788882471

Change-Id: Ie155d930b8a21c826fb8a034beb53dfec111ff4b
2017-10-17 08:47:12 +00:00
Hall Liu
12ba3c959a Merge "Add null checks to EMBMS AIDL impls" am: 9e93a6515e am: 7bfd87f169 am: 38088cbca2
am: 644419ff56

Change-Id: I9f59483af300d8aa72cc7ee5bf5401e4c12c85ce
2017-10-17 08:33:08 +00:00
Sooraj Sasindran
c788882471 Merge "Enhance network scan request" am: b9f49e671a am: d5987f9722
am: c1333187cd

Change-Id: I8a9d698e2b8be06ffa8433dbdce81e673130cde8
2017-10-17 06:29:22 +00:00
Sooraj Sasindran
d5987f9722 Merge "Enhance network scan request"
am: b9f49e671a

Change-Id: If24d4740c346761391213f94647c43cbd742444a
2017-10-17 06:11:06 +00:00
Sooraj Sasindran
b9f49e671a Merge "Enhance network scan request" 2017-10-17 06:03:31 +00:00
Hall Liu
644419ff56 Merge "Add null checks to EMBMS AIDL impls" am: 9e93a6515e am: 7bfd87f169
am: 38088cbca2

Change-Id: Ie162853f505c6cebc429805e1839227901d13276
2017-10-17 05:22:19 +00:00
Hall Liu
7bfd87f169 Merge "Add null checks to EMBMS AIDL impls"
am: 9e93a6515e

Change-Id: I888b5772fca069b638f1c2d0f803cf3863b7ff85
2017-10-16 22:44:48 +00:00
Hall Liu
8374e75d47 Check success before registering DeathRecipient
Before registering a DeathRecipient for EMBMS frontend apps, make sure
that whatever operation that they requested actually reported as
successful from the middleware.

Change-Id: I33605dc0a31d827248bed8c7ae6da22096732238
Fixes: 67864414
Test: manual, with testapps
2017-10-16 15:25:31 -07:00
Hall Liu
9e93a6515e Merge "Add null checks to EMBMS AIDL impls" 2017-10-16 22:04:17 +00:00
nharold
2184fb285d Merge "Remove getNetworkType() from ServiceState" am: ce1f9afb84 am: 7edf405cdd am: a550f85f84
am: ab6b2db8ed

Change-Id: I936b30270a6e40d83469fb7cc528e94e49141c64
2017-10-16 20:13:19 +00:00
nharold
ab6b2db8ed Merge "Remove getNetworkType() from ServiceState" am: ce1f9afb84 am: 7edf405cdd
am: a550f85f84

Change-Id: If5c714452e56f76bf6f9629444469fda2d45be93
2017-10-16 19:04:36 +00:00
nharold
7edf405cdd Merge "Remove getNetworkType() from ServiceState"
am: ce1f9afb84

Change-Id: I8e09f9060c7066e99428ea395743f66924443488
2017-10-16 18:41:22 +00:00
nharold
ce1f9afb84 Merge "Remove getNetworkType() from ServiceState" 2017-10-16 18:30:01 +00:00
Pankaj Kanwar
063a2f667e Merge "Add CarrierConfig for Invalid Call Forwarding number" into oc-mr1-dev am: 7c18f52452
am: 5c0982c604

Change-Id: Ib075510a7e3f7ad5fe17f7dea065f1dd42328d16
2017-10-15 06:07:33 +00:00
Pankaj Kanwar
5c0982c604 Merge "Add CarrierConfig for Invalid Call Forwarding number" into oc-mr1-dev
am: 7c18f52452

Change-Id: I12c3b3e3a0d4ad4919df5daeb07367f6197ffa93
2017-10-15 04:21:34 +00:00
Hall Liu
35496c27b8 Add null checks to EMBMS AIDL impls
Add null checks for things that the user passes in so that they don't
inadvertently cause NPEs for the middleware later on.

Change-Id: I09392a2ac9adec494fcbeeba889ce7fca6708323
Fixes: 67785040
Test: manual
2017-10-13 16:51:21 -07:00
Nathan Harold
03d23999d3 Remove getNetworkType() from ServiceState
This method was deprecated 4 years and 11 months ago
and set to be removed in 2013. It was replaced by
getVoiceNetworkType().

Bug: 67589287
Test: make checkbuild on goog/master
Change-Id: I5fefa755738ff2fb3f3babfcafd4dfb329314feb
2017-10-13 12:06:02 -07:00
Sooraj Sasindran
6e2226d0fb Enhance network scan request
BUG=63865942

Test: Verified by making changes in settings app to call the api
      and confirmed that the new information is delivered to vendor
      code
Merged-In: Ia17647bdedefed5230f4d113b7286d820f557e95
Change-Id: Ia17647bdedefed5230f4d113b7286d820f557e95
2017-10-13 09:25:13 -07:00
Jordan Liu
162d10d9dc Merge "Add a new carrier config to suppress AoC indication" am: db95dff0d8 am: c04d233ac2
am: 23be5ee3de

Change-Id: I5ea5156a5ea5541826ca1c6f4060fe7ccbfa1ff5
2017-10-13 00:30:00 +00:00
Jordan Liu
c04d233ac2 Merge "Add a new carrier config to suppress AoC indication"
am: db95dff0d8

Change-Id: If86b396f87e4f9f143f7abc02b4e05478693ade0
2017-10-12 23:58:55 +00:00
Jordan Liu
db95dff0d8 Merge "Add a new carrier config to suppress AoC indication" 2017-10-12 23:42:17 +00:00
Omata Shou
29b132bff4 Add a new carrier config to suppress AoC indication
Some carriers require to suppress the AoC(Advice of Charge) indication.
This carrier config is used to disable the popup dialog which warns the
user of data charges.

Test: Passed make build
Bug: 65036581
Merged-In: Ibb8d548573c9c747c790722ee526fcd626b3fa67
Change-Id: Ibb8d548573c9c747c790722ee526fcd626b3fa67
2017-10-12 16:41:20 -07:00
Brad Ebinger
1108564313 Add CarrierConfig for Invalid Call Forwarding number
In some situations, an invalid Call Forwarding number
from a carrier's network can cause the modem to send back
invalid characters instead of a number.

This change adds a carrier config option to replace the invalid
text with "Voicemail" in the Call Forwarding settings when
it is received from the network.

Bug: 67267077
Test: Manual
Change-Id: I26f9b80487f92340d1df2cf22bb5a616edcbdebf
2017-10-12 14:47:58 -07:00
TreeHugger Robot
80d3310f68 Merge "Add a new carrier config to suppress AoC indication" 2017-10-12 21:16:09 +00:00
Hall Liu
f2619d4aa9 Merge "Fix URI unparceling and clarify an error condition" into oc-mr1-dev am: adaae4cb91
am: 9822017b0f

Change-Id: I60e9bd9c0124a7844fb626747911ce8c9abb25d0
2017-10-12 01:50:39 +00:00
Hall Liu
9822017b0f Merge "Fix URI unparceling and clarify an error condition" into oc-mr1-dev
am: adaae4cb91

Change-Id: I835ccb152a32c593d25bd06d64b53b51b5717c55
2017-10-12 00:12:54 +00:00
Brad Ebinger
d1525d9767 Merge "Add new Download Error Codes" am: e9bd5449b5 am: 946ff79971 am: 014d73e287
am: bb38194a55

Change-Id: I3f1c18c3a9017c48aeba29e7344c27ba24d1a037
2017-10-11 23:43:09 +00:00
Hall Liu
1c36619f5b Merge "Fix URI unparceling and clarify an error condition"
am: 5f123e6ad6

Change-Id: Ib8023d966e01fd2acefc464d8d25ed5030cfd85b
2017-10-11 23:28:42 +00:00
Hall Liu
5f123e6ad6 Merge "Fix URI unparceling and clarify an error condition" 2017-10-11 23:04:58 +00:00