Merge "Clean up logging" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-05-26 03:51:17 +00:00
committed by Android (Google) Code Review

View File

@@ -8469,7 +8469,9 @@ public class NotificationManagerService extends SystemService {
for (int i = 0; i < newUris.size(); i++) {
final Uri uri = newUris.valueAt(i);
if (oldUris == null || !oldUris.contains(uri)) {
Slog.d(TAG, key + ": granting " + uri);
if (DBG) {
Slog.d(TAG, key + ": granting " + uri);
}
grantUriPermission(permissionOwner, uri, newRecord.getUid(), targetPkg,
targetUserId);
}