Merge "Allow themeing of icon in SuspendedAppActivity" into qt-dev

This commit is contained in:
TreeHugger Robot
2019-04-08 20:17:28 +00:00
committed by Android (Google) Code Review

View File

@@ -79,7 +79,7 @@ public class SuspendedAppActivity extends AlertActivity
: ID_NULL; : ID_NULL;
if (iconId != ID_NULL && mSuspendingAppResources != null) { if (iconId != ID_NULL && mSuspendingAppResources != null) {
try { try {
return mSuspendingAppResources.getDrawable(iconId, null); return mSuspendingAppResources.getDrawable(iconId, getTheme());
} catch (Resources.NotFoundException nfe) { } catch (Resources.NotFoundException nfe) {
Slog.e(TAG, "Could not resolve drawable resource id " + iconId); Slog.e(TAG, "Could not resolve drawable resource id " + iconId);
} }