Merge changes I24ba9196,Idc983746

* changes:
  Fix some l18n issues
  Add more info to log statement
This commit is contained in:
Julia Reynolds
2020-08-19 17:52:51 +00:00
committed by Android (Google) Code Review
3 changed files with 4 additions and 2 deletions

View File

@@ -210,7 +210,7 @@
android:clickable="false"
android:focusable="false"
android:ellipsize="end"
android:maxLines="3"
android:maxLines="4"
android:textAppearance="@style/TextAppearance.NotificationImportanceDetail"/>
</com.android.systemui.statusbar.notification.row.ButtonLinearLayout>

View File

@@ -128,6 +128,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:textDirection="locale"
style="@style/TextAppearance.NotificationImportanceChannelGroup" />
</LinearLayout>
</com.android.systemui.statusbar.notification.row.ButtonLinearLayout>

View File

@@ -6103,7 +6103,8 @@ public class NotificationManagerService extends SystemService {
protected boolean isBlocked(NotificationRecord r, NotificationUsageStats usageStats) {
if (isBlocked(r)) {
if (DBG) {
Slog.e(TAG, "Suppressing notification from package by user request.");
Slog.e(TAG, "Suppressing notification from package " + r.getSbn().getPackageName()
+ " by user request.");
}
usageStats.registerBlocked(r);
return true;