commit | 7c69636c9a406265e1da368f3edfd8fb9651132c | [log] [tgz] |
---|---|---|
author | Xiaohui Chen <xiaohuic@google.com> | Wed Sep 16 09:56:14 2015 -0700 |
committer | Xiaohui Chen <xiaohuic@google.com> | Wed Sep 16 09:56:14 2015 -0700 |
tree | fddb69555d78d91732ceafafe408c88fb05574cd | |
parent | b16e74693ef29b20e2d4327ff6ddec49eafd2873 [diff] [blame] |
Cleanup USER_OWNER in various services Bug: 19913735 Change-Id: I980370bab18e1b9ccf4043eed2b9fd721a940f72
diff --git a/services/core/java/com/android/server/MmsServiceBroker.java b/services/core/java/com/android/server/MmsServiceBroker.java index e0352e0..33f9234 100644 --- a/services/core/java/com/android/server/MmsServiceBroker.java +++ b/services/core/java/com/android/server/MmsServiceBroker.java
@@ -500,7 +500,7 @@ private Uri adjustUriForUserAndGrantPermission(Uri contentUri, String action, int permission) { final int callingUserId = UserHandle.getCallingUserId(); - if (callingUserId != UserHandle.USER_OWNER) { + if (callingUserId != UserHandle.USER_SYSTEM) { contentUri = ContentProvider.maybeAddUserId(contentUri, callingUserId); } long token = Binder.clearCallingIdentity();