}
@Override public Drawable getDefaultActivityIcon() {
- return Resources.getSystem().getDrawable(
- com.android.internal.R.drawable.sym_def_app_icon);
+ return mContext.getDrawable(com.android.internal.R.drawable.sym_def_app_icon);
}
@Override public Drawable getApplicationIcon(ApplicationInfo info) {
if (density <= 0) {
density = mContext.getResources().getDisplayMetrics().densityDpi;
}
- return Resources.getSystem().getDrawableForDensity(drawableId, density);
+ return mContext.getResources().getDrawableForDensity(drawableId, density);
}
private Drawable getManagedProfileIconForDensity(UserHandle user, int drawableId, int density) {
android:viewportHeight="108.0"
android:viewportWidth="108.0"
xmlns:android="http://schemas.android.com/apk/res/android">
- <path android:fillColor="@android:color/material_deep_teal_500"
+ <path android:fillColor="@android:color/accent_device_default_light"
android:pathData="M0,0h108v108h-108z"
android:strokeColor="#66FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,0L19,108"