Merge branch 'nyc-dev-plus-aosp' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base into nyc-dev-plus-aosp

This commit is contained in:
Neil Fuller
2016-02-18 18:43:57 +00:00
committed by android-build-merger

View File

@@ -149,8 +149,9 @@ public final class NotificationRecord {
}
try {
final ApplicationInfo applicationInfo = mContext.getPackageManager().getApplicationInfo(
sbn.getPackageName(), 0);
final ApplicationInfo applicationInfo =
mContext.getPackageManager().getApplicationInfoAsUser(sbn.getPackageName(),
0, sbn.getUser().getIdentifier());
if (applicationInfo.targetSdkVersion < Build.VERSION_CODES.N) {
if (isNoisy) {
if (importance >= IMPORTANCE_HIGH) {