Moving AllApps device profile variables to their own class
Bug: 419264653 Flag: EXEMPT refactor Test: DeviceProfileDumpTest Test: All Image tests Change-Id: I6490422d04f9f0aeaadf8271d4d11172f344660a
This commit is contained in:
1 parent
ec58354bf7
commit
136295f62a
18 files changed
+395
-167
No files matched your search
@@ -272,7 +272,8 @@ public class DatabaseWidgetPreviewLoader {
|
||||
|
||||
private Bitmap generateShortcutPreview(
|
||||
ShortcutConfigActivityInfo info, int maxWidth, int maxHeight) {
|
||||
int iconSize = ActivityContext.lookupContext(mContext).getDeviceProfile().allAppsIconSizePx;
|
||||
int iconSize = ActivityContext.lookupContext(
|
||||
mContext).getDeviceProfile().getAllAppsProfile().getIconSizePx();
|
||||
int padding = mContext.getResources()
|
||||
.getDimensionPixelSize(R.dimen.widget_preview_shortcut_padding);
|
||||
|
||||
|
||||
Reference in new issue
Block a user