Merge "Allow themeing of icon in SuspendedAppActivity" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
353c5cc16a
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user