Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

frameworks-base: Commit

frameworks/base


Commit MetaInfo

Revisionbb88f40e63dfc70fe9c55bbbb4d862ef9a597399 (tree)
Time2019-06-05 18:28:50
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

Android 8.1.0 release 65
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCXPGt0wAKCRDorT+BmrEO
eNMWAJ0fCbr6PkgB37eIdjeJJQ8UJFl4/ACfcr84dSoP8d+FIZ/m28nLkOmKhvY=
=x4n2
-----END PGP SIGNATURE-----

Merge tag 'android-8.1.0_r65' into oreo-x86

Android 8.1.0 release 65

Change Summary

Incremental Difference

--- a/services/core/java/com/android/server/notification/NotificationManagerService.java
+++ b/services/core/java/com/android/server/notification/NotificationManagerService.java
@@ -1767,6 +1767,11 @@ public class NotificationManagerService extends SystemService {
17671767 @Override
17681768 public boolean areNotificationsEnabledForPackage(String pkg, int uid) {
17691769 checkCallerIsSystemOrSameApp(pkg);
1770+ if (UserHandle.getCallingUserId() != UserHandle.getUserId(uid)) {
1771+ getContext().enforceCallingPermission(
1772+ android.Manifest.permission.INTERACT_ACROSS_USERS,
1773+ "canNotifyAsPackage for uid " + uid);
1774+ }
17701775
17711776 return mRankingHelper.getImportance(pkg, uid) != IMPORTANCE_NONE;
17721777 }
--- a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java
+++ b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java
@@ -7801,6 +7801,7 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
78017801 if (!mHasFeature) {
78027802 return null;
78037803 }
7804+ enforceManageUsers();
78047805 synchronized (this) {
78057806 List<String> result = null;
78067807 // If we have multiple profiles we return the intersection of the
Show on old repository browser