7ff418d9a9afb9ecf42f87fffd3e65477decb55e |
|
30-Nov-2016 |
Jeff Sharkey <jsharkey@android.com> |
Grant MMS Uri permissions as the calling UID. A recent security fix prevents the system UID from handing out Uri permission grants directly from itself. Instead, services need to issue grants as the original calling UID to ensure that the caller actually has access to the Uris. Test: builds, boots, send/recv MMS works in primary/secondary users Bug: 33231106 Change-Id: Ia9fe19843b52977c8a94ee5349b907beda1882fc
/frameworks/base/services/core/java/com/android/server/MmsServiceBroker.java
|
0a17db1cc5942ea000ca87bb72853de57a15ec64 |
|
04-Nov-2016 |
Jeff Sharkey <jsharkey@android.com> |
Detect non-oneway calls leaving system_server. To protect system stability, any Binder calls leaving the system_server must carefully be performed using FLAG_ONEWAY (or the 'oneway' verb in AIDL) which prevents the call from blocking indefinitely on the remote process. In this CL, the system_server uses the new Binder.setWarnOnBlocking() method to enable detection by default for all remote Binder interfaces. It can also use Binder.allowBlocking() to allow blocking calls on certain remote interfaces that have been determined to be safe. This CL adds the 'oneway' verb to several interfaces and methods where it should have been added, and marks a handful of system ContentProviders as being safe to call into. Also, we assume that any services obtained from ServiceManager are part of the core OS, and are okay to make blocking calls to. Test: builds, boots, runs with minimal logs triggered Bug: 32715088 Change-Id: Ide476e120cb40436a94b7faf7615c943d691f4c0
/frameworks/base/services/core/java/com/android/server/MmsServiceBroker.java
|
7c69636c9a406265e1da368f3edfd8fb9651132c |
|
16-Sep-2015 |
Xiaohui Chen <xiaohuic@google.com> |
Cleanup USER_OWNER in various services Bug: 19913735 Change-Id: I980370bab18e1b9ccf4043eed2b9fd721a940f72
/frameworks/base/services/core/java/com/android/server/MmsServiceBroker.java
|
6c589570c44752d96f35620de271ccae7d32502d |
|
17-Apr-2015 |
Svetoslav <svetoslavganov@google.com> |
Remove unnecessary WRITE_SMS permission - framework Currently only one app can write to the SMS provider and it has to be set as the default SMS app by the user in the UI. The default SMS app is set by enabling the write SMS app op for it and keeping this op off for other SMS apps. Hence, this permission does not guard anything and can be taken out. The API change is fine as if an app refers to the permission in the manifest as string it will be ignored and if it was referred in Java the value is statically compiled in the source. Change-Id: I1128c3b034e6c7dda4baa051500ac1ef46a53575
/frameworks/base/services/core/java/com/android/server/MmsServiceBroker.java
|
61c8d238c274d9d68a3beef9a4c5f8fb84982499 |
|
01-Apr-2015 |
Ye Wen <ywen@google.com> |
Return pending intent to service caller if MmsService can't be connected If MmsService can not be connected, broker throws a runtime exception which does not return to service caller via PendingIntent. MMS app would wait forever for the return of sent/downloaded PendingIntent. This change makes sure PendingIntent is always returned so MMS app can be unblocked. b/19732709 Change-Id: I694a0fc29bb431b48c7077e7a323844709ae695f
/frameworks/base/services/core/java/com/android/server/MmsServiceBroker.java
|
5cec9203a19f41b2ae1cd434834ecc63f2c0a142 |
|
16-Dec-2014 |
Cheuksan Wang <edwang@google.com> |
remove actions and calls for the old sms/mms api BUG: 18005911 Change-Id: Ifb900eb7f8bc03e205ac46d3dfb27e4baaaaf6b8
/frameworks/base/services/core/java/com/android/server/MmsServiceBroker.java
|
b72eb97e4bca1e4fd68e79f9d04e9a6a15aebd21 |
|
22-Nov-2014 |
Cheuksan Wang <edwang@google.com> |
new SMS/MMS carrier app API Changes based on api council review BUG: 18005911 Change-Id: I23bd207ce70f7fa201d6d964c1700cfc44cb009b
/frameworks/base/services/core/java/com/android/server/MmsServiceBroker.java
|
86201db27e7585975bd59401b4b7d28198ecf3f5 |
|
24-Nov-2014 |
Tom Taylor <tomtaylor@google.com> |
Issues with messaging apps on non-primary user account Bug 18399514 Adjust the contentUri to contain the caller's userId so that when the phone process tries to open the Uri, it will open the provider on the correct user. Also make sure the Uri grants are properly qualified. We only need to grant permission for sending. Receiving an MMS is always done by the primary user and doesn't need special permissions. Move various permission grants from the SmsManager to here. Change-Id: Ib192f651ab05db9f07e9e6245bb343ed7a55b18e
/frameworks/base/services/core/java/com/android/server/MmsServiceBroker.java
|
bdc3a46312dda68b4dfdf37a202fc791eb639610 |
|
11-Nov-2014 |
Ye Wen <ywen@google.com> |
Delay connecting to MmsService until APIs are called for imms Eagerly connecting to MmsService in MmsServiceBroker during system bootup caused a 2-second delay. Removing the connection in this CL. The connection will be made when any of the API is called. b/18085396 Change-Id: I201abcb5f8c5ac69e347e2c69fd20b8215bb0654
/frameworks/base/services/core/java/com/android/server/MmsServiceBroker.java
|
63f03dd94c43c22f2c77306059b5748e5e1e0e3c |
|
23-Oct-2014 |
Wink Saville <wink@google.com> |
Change subId to int from long Change-Id: Idae6335e63e7b1e4e714bc17e71b1a4705e38474
/frameworks/base/services/core/java/com/android/server/MmsServiceBroker.java
|
724dbbd7330f6e3d03c2eab394b22495ec1c7cc4 |
|
08-Oct-2014 |
Ye Wen <ywen@google.com> |
Make MmsServiceBroker more robust to MmsService crashes Retry connecting to MmsService when disconnected or upon each API call if disconnected. b/17862188 Change-Id: Iecfb0a6ffb59b94f6c1121bf00ba2db438ed7001
/frameworks/base/services/core/java/com/android/server/MmsServiceBroker.java
|
ee04543d58bf570fd77202d6d2cd861476c3daf6 |
|
09-Sep-2014 |
Cheuksan Wang <edwang@google.com> |
Send and download MMS via content provider instead of PDU bytes. Change-Id: Ib5a93d07799c9e14fea8be820c6bd4bc7ae8be3a
/frameworks/base/services/core/java/com/android/server/MmsServiceBroker.java
|
8179c2a6e47fca18a12275166065e36790eec083 |
|
05-Sep-2014 |
Ye Wen <ywen@google.com> |
MMS API cleanup (1/4) - Hide APIs not approved by API council (b/17189780) - Change configOverrides in MMS APIs from ContentValues to Bundle to be consistent (b/17390017) - Change SmsManager.MMS_EXTRA_DATA to EXTRA_MMS_DATA per API council review (b/17390977) b/17189780 b/17390017 b/17390977 Change-Id: If5a43e9ab9e42b6328f1581b39051ddf1a58f0dd
/frameworks/base/services/core/java/com/android/server/MmsServiceBroker.java
|
31ef14d4f00b90e13a9755ecfa6cbe8aa7466da7 |
|
26-Aug-2014 |
Julian Odell <juliano@google.com> |
Bug 17262099: MMS API changes (multi-project). Move MMS api to using content provider rather than byte[] to pass MMS message contents. Rebased and merged into TOT. Change-Id: I3509b2774b1cb30a1c8100bb25d283140c963b6b
/frameworks/base/services/core/java/com/android/server/MmsServiceBroker.java
|
7237972bffba11fcb5588e8cb0c98e9e7add7871 |
|
02-Sep-2014 |
Shri Borde <shri@google.com> |
Bug 17243357: Remove MessagingConfigurationManager It is replaced with SmsManager.getCarrierConfigValues Change-Id: I560a53427b08746f2a7ed2e540ecb2c978b7ebd0
/frameworks/base/services/core/java/com/android/server/MmsServiceBroker.java
|
63c00c4379ba4ac0f50161980b67c8acc2548f7b |
|
01-Aug-2014 |
Ye Wen <ywen@google.com> |
Allow MmsConfig override per request (1/3) Instead of providing ways to override MmsConfig globally, this allows the override per request, which is safer. Also added subId to the getter of MessagingConfigurationManager. b/16681649 Change-Id: Ia5ee391e2fa51fbdf87d111174d8df21f5f5e41f
/frameworks/base/services/core/java/com/android/server/MmsServiceBroker.java
|
fa58ac09df51ddc7710a7b2837170dd3780aaf3a |
|
01-Aug-2014 |
Ye Wen <ywen@google.com> |
Return fake URI for AppOps permission failure check Change-Id: Ib7adcce0827a90a49e317a5434fb1abfa91a51d5
/frameworks/base/services/core/java/com/android/server/MmsServiceBroker.java
|
a3dbd1087dfad0cacdb274420ec70505e236ad42 |
|
29-Jul-2014 |
Ye Wen <ywen@google.com> |
Move archived column from pdu/sms to threads (1/4) Also add API to archive a conversation Change-Id: Ib7daf6e0c3205c3c084406800c9c5bf054e1ca40
/frameworks/base/services/core/java/com/android/server/MmsServiceBroker.java
|
d97e1fdb29db15c5117e2502da2f1f1fb82233b6 |
|
24-Jul-2014 |
Ye Wen <ywen@google.com> |
Implement broker pattern for imms (1/3) b/16324360 Change-Id: I41dc9823820eed60406973f5edb5a71deb4b0130
/frameworks/base/services/core/java/com/android/server/MmsServiceBroker.java
|