Merge branch \'nyc-dev-plus-aosp\' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base into nyc-dev-plus-aosp
am: 1fb3430dc9
* commit '1fb3430dc90a5d04e2e5c19a52793f8099d9a1a4':
Get applicationinfo as user.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user