Merge "Fix app icon in notification guts." into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1c7cd0a882
@@ -39,7 +39,7 @@
|
||||
android:layout_gravity="center_vertical|start">
|
||||
|
||||
<ImageView
|
||||
android:id="@android:id/icon"
|
||||
android:id="@+id/app_icon"
|
||||
android:layout_width="18dp"
|
||||
android:layout_height="18dp"
|
||||
android:layout_marginEnd="6dp"
|
||||
|
||||
@@ -983,7 +983,7 @@ public abstract class BaseStatusBar extends SystemUI implements
|
||||
pkgicon = pmUser.getDefaultActivityIcon();
|
||||
}
|
||||
|
||||
((ImageView) row.findViewById(android.R.id.icon)).setImageDrawable(pkgicon);
|
||||
((ImageView) row.findViewById(R.id.app_icon)).setImageDrawable(pkgicon);
|
||||
((TextView) row.findViewById(R.id.pkgname)).setText(appname);
|
||||
|
||||
final View settingsButton = guts.findViewById(R.id.more_settings);
|
||||
|
||||
Reference in New Issue
Block a user