2 years agouicc: Add FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT intent flag on CatCmdmessage rel-24-uda-r1-partner rel-24-uda-r1.1-partner rel-24-uda-r1.2-partner rel-24-uda-r1.4-partner rel-24-uda-r2-partner
Sungmin Choi [Tue, 12 Jul 2016 01:37:40 +0000]
uicc: Add FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT intent flag on CatCmdmessage

If framework get the SETUP_MENU event before geting the BOOT COMPLETE,
STK menu intent is missing. Then User cannot see the STK menu on that seen.
Thus FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT flag is added for this case.

Bug: 29881312
Change-Id: I1e91e6ee6eae15d0289a739a81e496956eb2e9a1
Signed-off-by: hoonsung.park <hoonsung.park@lge.com>
Signed-off-by: Sungmin Choi <sungmin.choi@lge.com>

2 years agoGet current calls on phone type switch.
Amit Mahajan [Thu, 30 Jun 2016 18:54:18 +0000]
Get current calls on phone type switch.

There may be active calls from previous phone type.

Bug: 29738766
Change-Id: I16a57567fd72be35a7e15eccb6a65f540b51874d

2 years agoFix race condition leading to crash in RIL.java.
Sanket Padawe [Wed, 25 May 2016 20:28:01 +0000]
Fix race condition leading to crash in RIL.java.

+ Crash occuring because of using RilRequest object after releasing it.

Bug: 28855244

Change-Id: Ieb337a2403ba76de37c4f06a99845709863f19b9
(cherry picked from commit d0fdd8bd6ab1261ad474a3e7cddcc99090613931)

2 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Tue, 28 Jun 2016 07:03:31 +0000]
merge in nyc-release history after reset to nyc-dev

2 years agoMerge "Fix ImsPhone.processDisconnectReason() function" into nyc-dev
Pavel Zhamaitsiak [Mon, 27 Jun 2016 23:05:24 +0000]
Merge "Fix ImsPhone.processDisconnectReason() function" into nyc-dev

2 years agoFix ImsPhone.processDisconnectReason() function
Pavel Zhamaitsiak [Mon, 27 Jun 2016 22:20:36 +0000]
Fix ImsPhone.processDisconnectReason() function

Escape "|" (pipe) symbol.

Bug: 29581592
Change-Id: Ic25f0b7455c7197396001519995d73fbaaf1140f

2 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Thu, 23 Jun 2016 07:03:56 +0000]
merge in nyc-release history after reset to nyc-dev

2 years agoMerge "add upper bound on nitz year" into nyc-dev
Chen Xu [Wed, 22 Jun 2016 21:01:32 +0000]
Merge "add upper bound on nitz year" into nyc-dev

2 years agobackport security fix: avoid set NITZ time to 2038 am: 6c2365a258 am: 4c10b30d95...
fionaxu [Wed, 22 Jun 2016 00:44:31 +0000]
backport security fix: avoid set NITZ time to 2038 am: 6c2365a258 am: 4c10b30d95 am: 2e7bd47d74 am: a88ccfbb38 am: 7425e8ae34 am: 2f5f0f89b5 am: 188595cac7 am: bc102e54b6 am: 7af7734d1a am: 16dcb2b40a
am: 63545e1616  -s ours

Change-Id: Iab42ad57a1dc60795269d2e2ac4d7b4cfb40c32e

2 years agoadd upper bound on nitz year
Y [Wed, 22 Jun 2016 00:37:34 +0000]
add upper bound on nitz year

-framework will ignore NITZ time after Jan 1, 2038 to avoid malicious
basestation hack phone time and cause phone crashes
-unit test

Bug: 29083635
Change-Id: I4f60610ed13f5d6e7b0cf18f43708be2e528368c

2 years agobackport security fix: avoid set NITZ time to 2038 am: 6c2365a258 am: 4c10b30d95...
fionaxu [Tue, 21 Jun 2016 21:12:21 +0000]
backport security fix: avoid set NITZ time to 2038 am: 6c2365a258 am: 4c10b30d95 am: 2e7bd47d74 am: a88ccfbb38 am: 7425e8ae34 am: 2f5f0f89b5 am: 188595cac7 am: bc102e54b6 am: 7af7734d1a
am: 16dcb2b40a

Change-Id: I7ef131ba25995a9ed47c8a4115dd0b47cc45a353

2 years agobackport security fix: avoid set NITZ time to 2038 am: 6c2365a258 am: 4c10b30d95...
fionaxu [Tue, 21 Jun 2016 21:08:58 +0000]
backport security fix: avoid set NITZ time to 2038 am: 6c2365a258 am: 4c10b30d95 am: 2e7bd47d74 am: a88ccfbb38 am: 7425e8ae34 am: 2f5f0f89b5 am: 188595cac7 am: bc102e54b6
am: 7af7734d1a

Change-Id: Ieb0e41efa9ac29e6b2a4b7be28718e6f92f19fc7

2 years agobackport security fix: avoid set NITZ time to 2038 am: 6c2365a258 am: 4c10b30d95...
fionaxu [Tue, 21 Jun 2016 21:06:08 +0000]
backport security fix: avoid set NITZ time to 2038 am: 6c2365a258 am: 4c10b30d95 am: 2e7bd47d74 am: a88ccfbb38 am: 7425e8ae34 am: 2f5f0f89b5 am: 188595cac7
am: bc102e54b6

Change-Id: Ibea6c09ad6121142cba54c98e384f1453bc5054b

2 years agobackport security fix: avoid set NITZ time to 2038 am: 6c2365a258 am: 4c10b30d95...
fionaxu [Tue, 21 Jun 2016 21:03:13 +0000]
backport security fix: avoid set NITZ time to 2038 am: 6c2365a258 am: 4c10b30d95 am: 2e7bd47d74 am: a88ccfbb38 am: 7425e8ae34 am: 2f5f0f89b5
am: 188595cac7

Change-Id: I0eff305eeef80cd98764092908d3ce34241b88de

2 years agobackport security fix: avoid set NITZ time to 2038 am: 6c2365a258 am: 4c10b30d95...
fionaxu [Tue, 21 Jun 2016 21:00:28 +0000]
backport security fix: avoid set NITZ time to 2038 am: 6c2365a258 am: 4c10b30d95 am: 2e7bd47d74 am: a88ccfbb38 am: 7425e8ae34
am: 2f5f0f89b5

Change-Id: Ic1fc0894a1a090bb29fd5ba042be96f8a7d9276a

2 years agobackport security fix: avoid set NITZ time to 2038 am: 6c2365a258 am: 4c10b30d95...
fionaxu [Tue, 21 Jun 2016 20:57:48 +0000]
backport security fix: avoid set NITZ time to 2038 am: 6c2365a258 am: 4c10b30d95 am: 2e7bd47d74 am: a88ccfbb38
am: 7425e8ae34

Change-Id: Id287309d3d9ba5c82c5166a82544c03217266e89

2 years agobackport security fix: avoid set NITZ time to 2038 am: 6c2365a258 am: 4c10b30d95...
fionaxu [Tue, 21 Jun 2016 20:54:56 +0000]
backport security fix: avoid set NITZ time to 2038 am: 6c2365a258 am: 4c10b30d95 am: 2e7bd47d74
am: a88ccfbb38

Change-Id: I65ac1137c793d79987a8a54a33521cbc6c4f5912

2 years agobackport security fix: avoid set NITZ time to 2038 am: 6c2365a258 am: 4c10b30d95
fionaxu [Tue, 21 Jun 2016 20:52:03 +0000]
backport security fix: avoid set NITZ time to 2038 am: 6c2365a258 am: 4c10b30d95
am: 2e7bd47d74

Change-Id: Iaa0e689a681ba4edb3f46b774c85010808cfc043

2 years agobackport security fix: avoid set NITZ time to 2038 am: 6c2365a258
fionaxu [Tue, 21 Jun 2016 20:49:15 +0000]
backport security fix: avoid set NITZ time to 2038 am: 6c2365a258
am: 4c10b30d95

Change-Id: I73318ebba70279899920adf4dc164b8d14171159

2 years agobackport security fix: avoid set NITZ time to 2038
fionaxu [Tue, 21 Jun 2016 20:46:00 +0000]
backport security fix: avoid set NITZ time to 2038
am: 6c2365a258

Change-Id: I55e89f35fc82b8670558d71e5687d99a8730dbf0

2 years agobackport security fix: avoid set NITZ time to 2038
fionaxu [Tue, 21 Jun 2016 02:11:57 +0000]
backport security fix: avoid set NITZ time to 2038

Bug: 29083635
Change-Id: I21c5f4147d8146f92b7e33f0967a179ae644a263

2 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Thu, 16 Jun 2016 07:03:59 +0000]
merge in nyc-release history after reset to nyc-dev

2 years agoMerge "Move Spammy SST.getAllCellInfo Logs to Verbose" into nyc-dev
TreeHugger Robot [Wed, 15 Jun 2016 22:09:33 +0000]
Merge "Move Spammy SST.getAllCellInfo Logs to Verbose" into nyc-dev

2 years agoMove Spammy SST.getAllCellInfo Logs to Verbose
Nathan Harold [Wed, 15 Jun 2016 00:23:16 +0000]
Move Spammy SST.getAllCellInfo Logs to Verbose

The relative frequency of the getAllCellInfo() logs and the
large size of these log lines is contributing substantively
to the log eliding of the RADIO_LOG buffer. Because the RILJ
call contains all the same info these logs add little value.

Bug: 29368040
Change-Id: Ia3ebf3d74986f8f12ac2adbd2dfd7283bb8162b5

2 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Wed, 15 Jun 2016 07:03:47 +0000]
merge in nyc-release history after reset to nyc-dev

2 years agoMerge "change CDMA roaming mode when ACTION_CARRIER_CONFIG_CHANGED received." into...
Qingxi Li [Tue, 14 Jun 2016 17:02:51 +0000]
Merge "change CDMA roaming mode when ACTION_CARRIER_CONFIG_CHANGED received." into nyc-dev

2 years agochange CDMA roaming mode when ACTION_CARRIER_CONFIG_CHANGED received.
qingxi [Fri, 3 Jun 2016 22:10:16 +0000]
change CDMA roaming mode when ACTION_CARRIER_CONFIG_CHANGED received.

Change-Id: I672dbd7c72fa4ea140e073d52b271ea99046cd4e
bug: 28836467

2 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Sun, 12 Jun 2016 07:04:13 +0000]
merge in nyc-release history after reset to nyc-dev

2 years agoSuppress new message notification on non-FBE devices.
Ji Yang [Thu, 9 Jun 2016 16:52:33 +0000]
Suppress new message notification on non-FBE devices.

BUG: 28791378
Change-Id: Ib0e37cfdcc1b30ee1cbe21ad7398522113c8c976

2 years agoBackport changes to read sms app name safely am: 98f7080e8e am: f6a6d47561 am: f61e7e...
fionaxu [Wed, 8 Jun 2016 18:34:32 +0000]
Backport changes to read sms app name safely am: 98f7080e8e am: f6a6d47561 am: f61e7e7aaa am: 3549133e53 am: a92fe9a1fd am: 18f0dcfbb3 am: 008679ddff am: 86391365a9 am: a72e8f1af6 am: 345f1232bc
am: 2f6e5a0985

Change-Id: I9b8314861fd65b379893ecc4bcd307d4c6e481d6

2 years agoBackport changes to read sms app name safely am: 98f7080e8e am: f6a6d47561 am: f61e7e...
fionaxu [Wed, 8 Jun 2016 18:26:45 +0000]
Backport changes to read sms app name safely am: 98f7080e8e am: f6a6d47561 am: f61e7e7aaa am: 3549133e53 am: a92fe9a1fd am: 18f0dcfbb3 am: 008679ddff am: 86391365a9 am: a72e8f1af6
am: 345f1232bc

Change-Id: I628d31b26afc0177cc43eb3dc6d20414c63154f9

2 years agoBackport changes to read sms app name safely am: 98f7080e8e am: f6a6d47561 am: f61e7e...
fionaxu [Wed, 8 Jun 2016 18:18:51 +0000]
Backport changes to read sms app name safely am: 98f7080e8e am: f6a6d47561 am: f61e7e7aaa am: 3549133e53 am: a92fe9a1fd am: 18f0dcfbb3 am: 008679ddff am: 86391365a9
am: a72e8f1af6

Change-Id: I7399cbd17fe7f4830cb9b792bcc54ded1d3c387c

2 years agoBackport changes to read sms app name safely am: 98f7080e8e am: f6a6d47561 am: f61e7e...
fionaxu [Wed, 8 Jun 2016 18:16:25 +0000]
Backport changes to read sms app name safely am: 98f7080e8e am: f6a6d47561 am: f61e7e7aaa am: 3549133e53 am: a92fe9a1fd am: 18f0dcfbb3 am: 008679ddff
am: 86391365a9

Change-Id: I0cf3c975c182c948562c811729698e241eb83053

2 years agoBackport changes to read sms app name safely am: 98f7080e8e am: f6a6d47561 am: f61e7e...
fionaxu [Wed, 8 Jun 2016 17:24:42 +0000]
Backport changes to read sms app name safely am: 98f7080e8e am: f6a6d47561 am: f61e7e7aaa am: 3549133e53 am: a92fe9a1fd am: 18f0dcfbb3
am: 008679ddff

Change-Id: I44780ca82ff0b48234f188e976ac4adf795ba686

2 years agoBackport changes to read sms app name safely am: 98f7080e8e am: f6a6d47561 am: f61e7e...
fionaxu [Wed, 8 Jun 2016 17:17:11 +0000]
Backport changes to read sms app name safely am: 98f7080e8e am: f6a6d47561 am: f61e7e7aaa am: 3549133e53 am: a92fe9a1fd
am: 18f0dcfbb3

Change-Id: I9e39db136e7ed815b47ff013a330f431cf20a294

2 years agoBackport changes to read sms app name safely am: 98f7080e8e am: f6a6d47561 am: f61e7e...
fionaxu [Wed, 8 Jun 2016 17:11:57 +0000]
Backport changes to read sms app name safely am: 98f7080e8e am: f6a6d47561 am: f61e7e7aaa am: 3549133e53
am: a92fe9a1fd

Change-Id: I2e18d8663fb38ffb9a8cc96173ae42c421be15af

2 years agoBackport changes to read sms app name safely am: 98f7080e8e am: f6a6d47561 am: f61e7e7aaa
fionaxu [Wed, 8 Jun 2016 17:03:58 +0000]
Backport changes to read sms app name safely am: 98f7080e8e am: f6a6d47561 am: f61e7e7aaa
am: 3549133e53

Change-Id: I75785fb1449782bccce7127e77ef2db6c8e8417e

2 years agoBackport changes to read sms app name safely am: 98f7080e8e am: f6a6d47561
fionaxu [Tue, 7 Jun 2016 23:23:11 +0000]
Backport changes to read sms app name safely am: 98f7080e8e am: f6a6d47561
am: f61e7e7aaa

Change-Id: I9019a6818cdc1d9cbc3102cfdd46d1fd72cae893

2 years agoBackport changes to read sms app name safely am: 98f7080e8e
fionaxu [Tue, 7 Jun 2016 23:20:04 +0000]
Backport changes to read sms app name safely am: 98f7080e8e
am: f6a6d47561

Change-Id: I3bc5caf5b490b44fa12bc83e77ae94c0e1879a58

2 years agoBackport changes to read sms app name safely
fionaxu [Tue, 7 Jun 2016 23:13:09 +0000]
Backport changes to read sms app name safely
am: 98f7080e8e

Change-Id: I07d73b017f0f205962a78733ab48d4af2a768adc

2 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Sun, 5 Jun 2016 07:04:05 +0000]
merge in nyc-release history after reset to nyc-dev

2 years agoMerge "Revert to sticky broadcast for SIM_STATE_CHANGED." into nyc-dev
TreeHugger Robot [Fri, 3 Jun 2016 20:13:24 +0000]
Merge "Revert to sticky broadcast for SIM_STATE_CHANGED." into nyc-dev

2 years agoRevert to sticky broadcast for SIM_STATE_CHANGED.
Amit Mahajan [Fri, 3 Jun 2016 18:48:18 +0000]
Revert to sticky broadcast for SIM_STATE_CHANGED.

Should be changed only when an API is added that allows query for
LOADED state, otherwise this causes issues for some OEM apps.

Bug: 29061608
Change-Id: I52b2139cb1807f8c39329a08762fb98e24a75adb

2 years agoBackport changes to read sms app name safely
fionaxu [Fri, 3 Jun 2016 01:56:41 +0000]
Backport changes to read sms app name safely

Bug: 28557603
Change-Id: Ia6e187d6292f85c3a84a6dc16322b726d488b2ae

2 years agoMerge "Add receiver to override carrier name after carrierconfig is loaded." into...
Sanket Padawe [Thu, 2 Jun 2016 23:11:21 +0000]
Merge "Add receiver to override carrier name after carrierconfig is loaded." into nyc-dev

2 years agoMore carrier bind fixes: direct boot and package changes.
Jeff Davidson [Thu, 2 Jun 2016 17:33:42 +0000]
More carrier bind fixes: direct boot and package changes.

For direct boot, we must listen to ACTION_USER_UNLOCKED and rebind
upon unlock in case the carrier service is not direct boot aware.

Also, previously, we only evaluated bindings on package changes to the
package that was currently bound to, if any. But if no binding is
present, and then a package change leads to a scenario where a binding
should be made, the binding would never be established. This can
happen when a new carrier package is first installed, or if the
component/package goes from disabled to enabled. Thus, when package
changes occur, also reevaluate bindings for any phones which have no
binding information.

Fixes: 28964849
Fixes: 29043701
Change-Id: Ia60c7035d2a3f3f02445f017920f8c4650f464f4

2 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Thu, 2 Jun 2016 07:03:16 +0000]
merge in nyc-release history after reset to nyc-dev

2 years agoAdd receiver to override carrier name after carrierconfig is loaded.
Sanket Padawe [Wed, 1 Jun 2016 18:22:17 +0000]
Add receiver to override carrier name after carrierconfig is loaded.

Bug: 27718118
Change-Id: Ie62dd3dc52f0977a2b05ae8f0ba4898c80174658

2 years agoMerge "Fixed that data call is not torn down when data roaming is disabled." into...
Jack Yu [Wed, 1 Jun 2016 17:57:33 +0000]
Merge "Fixed that data call is not torn down when data roaming is disabled." into nyc-dev

2 years agoMerge "sms app is able to control alert message" into nyc-dev
Chen Xu [Wed, 1 Jun 2016 16:47:17 +0000]
Merge "sms app is able to control alert message" into nyc-dev

2 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Wed, 1 Jun 2016 07:03:20 +0000]
merge in nyc-release history after reset to nyc-dev

2 years agosms app is able to control alert message
fionaxu [Tue, 24 May 2016 23:10:38 +0000]
sms app is able to control alert message

By changing the name of the application to include HTML characters, it
is possible to manipulate the warning message shown to the user when the
application then tries to send a premium rate SMS message.

Bug: 28557603
Change-Id: I4d43ca12f4ca3c1b00f9628a7301b63690379faf

2 years agoFixed that data call is not torn down when data roaming is disabled.
Jack Yu [Tue, 31 May 2016 08:39:59 +0000]
Fixed that data call is not torn down when data roaming is disabled.

Fixed the incorrect content observer initialization and its event
handler.

bug: 28923982
Change-Id: I730cb1c737acc2285eb6de4aab97a463db7f4301

2 years agoMerge "Simplify carrier service binding and make it more robust." into nyc-dev
Jeff Davidson [Tue, 31 May 2016 19:05:44 +0000]
Merge "Simplify carrier service binding and make it more robust." into nyc-dev

2 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Sun, 29 May 2016 07:04:41 +0000]
merge in nyc-release history after reset to nyc-dev

2 years agoMerge "Fix failing unit test." into nyc-dev
TreeHugger Robot [Fri, 27 May 2016 19:29:02 +0000]
Merge "Fix failing unit test." into nyc-dev

2 years agoAdd Null check for extras bundle
Brad Ebinger [Thu, 26 May 2016 19:05:47 +0000]
Add Null check for extras bundle

Bug: 28982151
Change-Id: I1bcb809c8df79f1faa2ae082d353de94a6d64979

2 years agoClone extras Bundle when operating on it in onExtrasChanged
Brad Ebinger [Thu, 26 May 2016 01:25:49 +0000]
Clone extras Bundle when operating on it in onExtrasChanged

Currently, we do not make a copy of the extras Bundle when calling
Connection.setConnectionExtras. In rare cases, when multiple
setConnectionExtras events come in at the same time, they are posted
onto a concurrent Handler and the extras Bundle is cleared while being
copied in TelephonyConnection.updateExtras. This causes an
ArrayOutOfBoundsException and causes the Phone process to crash.

We now create a copy of the Bundle when we post it onto the concurrent
Handler to ensure that there is no simultaneous copy/clear operations
happening on the same extras Bundle.

Bug: 28957661
Change-Id: Icc8200b9a73c261acc6f2b94ace6284437e32e6e

2 years agoRename carrier messaging API constant name.
Ji Yang [Fri, 20 May 2016 00:33:47 +0000]
Rename carrier messaging API constant name.

BUG: 28842531
Change-Id: I5c8870034d2b19f7647c0dfef352d2d3c202986f

2 years agoAdd Null check for extras bundle
Brad Ebinger [Thu, 26 May 2016 19:05:47 +0000]
Add Null check for extras bundle

Bug: 28982151
Change-Id: I1bcb809c8df79f1faa2ae082d353de94a6d64979

2 years agoFix failing unit test.
Amit Mahajan [Thu, 26 May 2016 17:08:41 +0000]
Fix failing unit test.

Bug: 28883656
Change-Id: Ia6e1ca8450f8ae9fb5c162bd62f581af8f2b7e5e

2 years agoMerge "Clone extras Bundle when operating on it in onExtrasChanged" into nyc-dev
Brad Ebinger [Thu, 26 May 2016 16:36:59 +0000]
Merge "Clone extras Bundle when operating on it in onExtrasChanged" into nyc-dev

2 years agoMerge "Rename carrier messaging API constant name." into nyc-dev
Ji Yang [Thu, 26 May 2016 15:40:11 +0000]
Merge "Rename carrier messaging API constant name." into nyc-dev

2 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Thu, 26 May 2016 07:03:25 +0000]
merge in nyc-release history after reset to nyc-dev

2 years agoSimplify carrier service binding and make it more robust.
Jeff Davidson [Tue, 24 May 2016 17:38:04 +0000]
Simplify carrier service binding and make it more robust.

-Change bind() to rebind(), and have it ensure the binding is always
in the right state. It will drop the binding if it's unneeded,
establish a new binding if the parameters have changed, or else leave
the existing binding alone.

-Use a PackageMonitor instead of a BroadcastReceiver as a minor
simplification. Handle add/remove/update as before.

-Handle package changes by rebinding.

-Handle package force stops by explicitly unbinding and rebinding.

-Remove the bind timeout. This was designed to catch cases where
onBind returned null, but leaving the binding isn't actually harmful,
and having a timeout introduces risk that the binding is dropped when
it is legitimately taking a while to establish.

-Fix log tag which is > 23 characters and thus invalid.

Bug: 28897103
Change-Id: I2e9311588dc378bfb3bc221f2149d3e2d27ce351

2 years agoClone extras Bundle when operating on it in onExtrasChanged
Brad Ebinger [Thu, 26 May 2016 01:25:49 +0000]
Clone extras Bundle when operating on it in onExtrasChanged

Currently, we do not make a copy of the extras Bundle when calling
Connection.setConnectionExtras. In rare cases, when multiple
setConnectionExtras events come in at the same time, they are posted
onto a concurrent Handler and the extras Bundle is cleared while being
copied in TelephonyConnection.updateExtras. This causes an
ArrayOutOfBoundsException and causes the Phone process to crash.

We now create a copy of the Bundle when we post it onto the concurrent
Handler to ensure that there is no simultaneous copy/clear operations
happening on the same extras Bundle.

Bug: 28957661
Change-Id: Icc8200b9a73c261acc6f2b94ace6284437e32e6e

2 years agoUse getConfigForSubId instead of getConfig(int).
Derek Tan [Wed, 25 May 2016 21:03:58 +0000]
Use getConfigForSubId instead of getConfig(int).

Per API review, we want to revert getConfig(int) to
getConfigForSubId(int) (ag/1075011). This CL changes all
callers to use getConfigForSubId(int).

Bug: 28295813
Change-Id: Ib55064226da5371d5acf014c0e0c20f3724d02c4

2 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Wed, 25 May 2016 07:03:51 +0000]
merge in nyc-release history after reset to nyc-dev

3 years agoMerge "Do not register broadcastReceiver for all users." into nyc-dev
Amit Mahajan [Tue, 24 May 2016 23:44:23 +0000]
Merge "Do not register broadcastReceiver for all users." into nyc-dev

3 years agoDo not register broadcastReceiver for all users.
Amit Mahajan [Tue, 24 May 2016 20:31:35 +0000]
Do not register broadcastReceiver for all users.

Registering for all users makes it receive the intent for each
user which is not required.

Bug: 28933982
Change-Id: I797d4d3d4553658a7e4e5021f45dfef5bb6ff05c

3 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Tue, 24 May 2016 07:03:34 +0000]
merge in nyc-release history after reset to nyc-dev

3 years agoRevert "Revert "Remove the system new message notification automatically.""
Ji Yang [Mon, 23 May 2016 15:50:19 +0000]
Revert "Revert "Remove the system new message notification automatically.""

This reverts commit de705fdb1d33c79ef676271fd6938120e15912f0.

The root cause was not caused by the original CL and it is now fixed.

BUG: 28874264

Change-Id: If250a2e59b8230fe54fdf5d35d3b669a70fe9a28

3 years agoAdd null check to avoid exception.
Amit Mahajan [Fri, 20 May 2016 22:40:47 +0000]
Add null check to avoid exception.

Code was already added for b/28614514; moving it to check a little
earlier. Also adding another null pointer check.

This takes care of b/28842442 too.

Bug: 28883656
Change-Id: Ib8e29a7cc18bffa45a361c27a640fef791d6cafa

3 years agoMerge "Add null check to avoid exception." into nyc-dev
Amit Mahajan [Mon, 23 May 2016 20:30:00 +0000]
Merge "Add null check to avoid exception." into nyc-dev

3 years agoMerge "Hide SIP PII data from logs." into nyc-dev
Santos Cordon [Mon, 23 May 2016 18:12:48 +0000]
Merge "Hide SIP PII data from logs." into nyc-dev

3 years agoMerge "Revert "Revert "Remove the system new message notification automatically....
Ji Yang [Mon, 23 May 2016 15:56:31 +0000]
Merge "Revert "Revert "Remove the system new message notification automatically.""" into nyc-dev

3 years agoRevert "Revert "Remove the system new message notification automatically.""
Ji Yang [Mon, 23 May 2016 15:50:19 +0000]
Revert "Revert "Remove the system new message notification automatically.""

This reverts commit de705fdb1d33c79ef676271fd6938120e15912f0.

The root cause was not caused by the original CL and it is now fixed.

BUG: 28874264

Change-Id: If250a2e59b8230fe54fdf5d35d3b669a70fe9a28

3 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Sun, 22 May 2016 07:04:06 +0000]
merge in nyc-release history after reset to nyc-dev

3 years agoRevert "Remove the system new message notification automatically."
Ji Yang [Fri, 20 May 2016 22:30:40 +0000]
Revert "Remove the system new message notification automatically."

This reverts commit d5059539e839b7bd1e9c62bbc0181444b38a6751.

Change-Id: I5fb1e9e000bc3cf59d6eb8c3a14c5c1fd908284f

3 years agoAdd null check to avoid exception.
Amit Mahajan [Fri, 20 May 2016 22:40:47 +0000]
Add null check to avoid exception.

Code was already added for b/28614514; moving it to check a little
earlier. Also adding another null pointer check.

This takes care of b/28842442 too.

Bug: 28883656
Change-Id: Ib8e29a7cc18bffa45a361c27a640fef791d6cafa

3 years agoMerge "Revert "Remove the system new message notification automatically."" into nyc-dev
Ji Yang [Fri, 20 May 2016 22:35:35 +0000]
Merge "Revert "Remove the system new message notification automatically."" into nyc-dev

3 years agoRevert "Remove the system new message notification automatically."
Ji Yang [Fri, 20 May 2016 22:30:40 +0000]
Revert "Remove the system new message notification automatically."

This reverts commit d5059539e839b7bd1e9c62bbc0181444b38a6751.

Change-Id: I5fb1e9e000bc3cf59d6eb8c3a14c5c1fd908284f

3 years agoMerge "Changes to not use getFullIccId in SubscriptionInfo." into nyc-dev
Amit Mahajan [Fri, 20 May 2016 17:07:08 +0000]
Merge "Changes to not use getFullIccId in SubscriptionInfo." into nyc-dev

3 years agoMerge "Fix unit test for multi-part SMS." into nyc-dev
TreeHugger Robot [Fri, 20 May 2016 17:06:17 +0000]
Merge "Fix unit test for multi-part SMS." into nyc-dev

3 years agoRemove the system new message notification automatically.
Ji Yang [Wed, 18 May 2016 20:03:01 +0000]
Remove the system new message notification automatically.

The notification is removed after user-unlock. It's no longer needed
at that point because the messaging app will show its own notification.

BUG: 28791378
Change-Id: I49f942e565cb8b830c763305483590323ba21e4b

3 years agoRename carrier messaging API constant name.
Ji Yang [Fri, 20 May 2016 00:33:47 +0000]
Rename carrier messaging API constant name.

BUG: 28842531
Change-Id: I5c8870034d2b19f7647c0dfef352d2d3c202986f

3 years agoMerge "Remove the system new message notification automatically." into nyc-dev
Ji Yang [Thu, 19 May 2016 23:34:35 +0000]
Merge "Remove the system new message notification automatically." into nyc-dev

3 years agoFix unit test for multi-part SMS.
Amit Mahajan [Thu, 19 May 2016 17:46:59 +0000]
Fix unit test for multi-part SMS.

Bug: 28821195
Change-Id: Idde4b7ef6f2cee999cccd3ee795d21f1e68edc37

3 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Thu, 19 May 2016 07:03:19 +0000]
merge in nyc-release history after reset to nyc-dev

3 years agoMerge "Rebroadcast SIM_STATE_CHANGED after USER_UNLOCKED." into nyc-dev
TreeHugger Robot [Wed, 18 May 2016 23:40:39 +0000]
Merge "Rebroadcast SIM_STATE_CHANGED after USER_UNLOCKED." into nyc-dev

3 years agoRemove the system new message notification automatically.
Ji Yang [Wed, 18 May 2016 20:03:01 +0000]
Remove the system new message notification automatically.

The notification is removed after user-unlock. It's no longer needed
at that point because the messaging app will show its own notification.

BUG: 28791378
Change-Id: I49f942e565cb8b830c763305483590323ba21e4b

3 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Wed, 18 May 2016 07:03:33 +0000]
merge in nyc-release history after reset to nyc-dev

3 years agoChanges to scan raw table right away if user is already unlocked.
Amit Mahajan [Wed, 18 May 2016 01:44:36 +0000]
Changes to scan raw table right away if user is already unlocked.

Bug: 28821195
Change-Id: I79d7bcccbaa2e0bb4841c70b7188cff151b701f7

3 years agoRebroadcast SIM_STATE_CHANGED after USER_UNLOCKED.
Amit Mahajan [Tue, 17 May 2016 19:00:39 +0000]
Rebroadcast SIM_STATE_CHANGED after USER_UNLOCKED.

There may be apps that rely on SIM_STATE_CHANGED but may not receive
the intent if they are not direct-boot aware. This change is to
rebroadcast the last SIM_STATE_CHANGED intents for each phone
after user unlock.

Bug: 28763595
Change-Id: Ib81e73a946d731987576357ec7c2da19fa310341

3 years agoHide SIP PII data from logs.
Santos Cordon [Fri, 13 May 2016 19:53:31 +0000]
Hide SIP PII data from logs.

Bug: 28560740
Change-Id: I46464669d5f920c2af8756254a5549508ce99eca

3 years agoMerge "Handle both null and empty string for package name in carrier rule." into...
Junda Liu [Tue, 17 May 2016 17:36:10 +0000]
Merge "Handle both null and empty string for package name in carrier rule." into nyc-dev

3 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Tue, 17 May 2016 07:03:36 +0000]
merge in nyc-release history after reset to nyc-dev

3 years agoChanges to not use getFullIccId in SubscriptionInfo.
Amit Mahajan [Mon, 16 May 2016 23:12:30 +0000]
Changes to not use getFullIccId in SubscriptionInfo.

getFullIccId includes hex chars in the ICCID, making it appear
as if its a new ICCID and thus SubscriptionInfo generates new subId
even for SIMs already known to the device (on first upgrading to N).

Bug: 28773363
Change-Id: I4d262d69c3042bef9e711935e02942ec3667171f

3 years agoMerge "Protect completeRadioCapabilityTransaction with READ_PHONE_STATE permission...
TreeHugger Robot [Mon, 16 May 2016 21:13:04 +0000]
Merge "Protect completeRadioCapabilityTransaction with READ_PHONE_STATE permission" into nyc-dev

3 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Sun, 15 May 2016 00:03:50 +0000]
merge in nyc-release history after reset to nyc-dev