Loading packages/ExtServices/src/android/ext/services/notification/Assistant.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -238,7 +238,7 @@ public class Assistant extends NotificationAssistantService { } } mSingleThreadExecutor.submit(() -> { mSingleThreadExecutor.submit(() -> { NotificationEntry entry = NotificationEntry entry = new NotificationEntry(mPackageManager, sbn, channel, mSmsHelper); new NotificationEntry(mPackageManager, sbn.cloneLight(), channel, mSmsHelper); SmartActionsHelper.SmartSuggestions suggestions = mSmartActionsHelper.suggest(entry); SmartActionsHelper.SmartSuggestions suggestions = mSmartActionsHelper.suggest(entry); if (DEBUG) { if (DEBUG) { Log.d(TAG, String.format( Log.d(TAG, String.format( Loading Loading @@ -296,7 +296,7 @@ public class Assistant extends NotificationAssistantService { Ranking ranking = getRanking(sbn.getKey(), rankingMap); Ranking ranking = getRanking(sbn.getKey(), rankingMap); if (ranking != null && ranking.getChannel() != null) { if (ranking != null && ranking.getChannel() != null) { NotificationEntry entry = new NotificationEntry(mPackageManager, NotificationEntry entry = new NotificationEntry(mPackageManager, sbn, ranking.getChannel(), mSmsHelper); sbn.cloneLight(), ranking.getChannel(), mSmsHelper); String key = getKey( String key = getKey( sbn.getPackageName(), sbn.getUserId(), ranking.getChannel().getId()); sbn.getPackageName(), sbn.getUserId(), ranking.getChannel().getId()); ChannelImpressions ci = mkeyToImpressions.getOrDefault(key, ChannelImpressions ci = mkeyToImpressions.getOrDefault(key, Loading Loading
packages/ExtServices/src/android/ext/services/notification/Assistant.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -238,7 +238,7 @@ public class Assistant extends NotificationAssistantService { } } mSingleThreadExecutor.submit(() -> { mSingleThreadExecutor.submit(() -> { NotificationEntry entry = NotificationEntry entry = new NotificationEntry(mPackageManager, sbn, channel, mSmsHelper); new NotificationEntry(mPackageManager, sbn.cloneLight(), channel, mSmsHelper); SmartActionsHelper.SmartSuggestions suggestions = mSmartActionsHelper.suggest(entry); SmartActionsHelper.SmartSuggestions suggestions = mSmartActionsHelper.suggest(entry); if (DEBUG) { if (DEBUG) { Log.d(TAG, String.format( Log.d(TAG, String.format( Loading Loading @@ -296,7 +296,7 @@ public class Assistant extends NotificationAssistantService { Ranking ranking = getRanking(sbn.getKey(), rankingMap); Ranking ranking = getRanking(sbn.getKey(), rankingMap); if (ranking != null && ranking.getChannel() != null) { if (ranking != null && ranking.getChannel() != null) { NotificationEntry entry = new NotificationEntry(mPackageManager, NotificationEntry entry = new NotificationEntry(mPackageManager, sbn, ranking.getChannel(), mSmsHelper); sbn.cloneLight(), ranking.getChannel(), mSmsHelper); String key = getKey( String key = getKey( sbn.getPackageName(), sbn.getUserId(), ranking.getChannel().getId()); sbn.getPackageName(), sbn.getUserId(), ranking.getChannel().getId()); ChannelImpressions ci = mkeyToImpressions.getOrDefault(key, ChannelImpressions ci = mkeyToImpressions.getOrDefault(key, Loading