Adding utility method to get adaptive icon scale
Change-Id: I5ff190c3b794bb13309375782ccd420e85b59091
This commit is contained in:
1 parent
1bdb0f4046
commit
905262c1a7
11 files changed
+142
-109
No files matched your search
@@ -42,7 +42,7 @@ import android.util.Xml;
|
||||
import android.view.Display;
|
||||
import android.view.WindowManager;
|
||||
|
||||
import com.android.launcher3.folder.FolderShape;
|
||||
import com.android.launcher3.graphics.IconShape;
|
||||
import com.android.launcher3.util.ConfigMonitor;
|
||||
import com.android.launcher3.util.IntArray;
|
||||
import com.android.launcher3.util.MainThreadInitializedObject;
|
||||
@@ -304,7 +304,7 @@ public class InvariantDeviceProfile {
|
||||
changeFlags |= CHANGE_FLAG_ICON_PARAMS;
|
||||
}
|
||||
if (!iconShapePath.equals(oldProfile.iconShapePath)) {
|
||||
FolderShape.init(context);
|
||||
IconShape.init(context);
|
||||
}
|
||||
|
||||
apply(context, changeFlags);
|
||||
|
||||
Reference in new issue
Block a user