diff options
author | Hyunyoung Song <hyunyoungs@google.com> | 2017-03-20 16:15:40 -0700 |
---|---|---|
committer | Hyunyoung Song <hyunyoungs@google.com> | 2017-03-28 09:54:57 -0700 |
commit | f5a6ee0bfb26c3e001ff8cae314ef32a100913bc (patch) | |
tree | 0f8dd8572773d741672e0fd627994287709b631f /src_flags | |
parent | 5756900508177f6be1c1e9c1111d785a1e575a4d (diff) | |
download | android_packages_apps_Trebuchet-f5a6ee0bfb26c3e001ff8cae314ef32a100913bc.tar.gz android_packages_apps_Trebuchet-f5a6ee0bfb26c3e001ff8cae314ef32a100913bc.tar.bz2 android_packages_apps_Trebuchet-f5a6ee0bfb26c3e001ff8cae314ef32a100913bc.zip |
Legacy icon treatment
- normalize
- circle detection
b/36563706
LEGACY_ICON_TREATMENT can only be turned on IF DISABLE_ICON_NORMALIZATION is false.
This is fine since, when all apps migrated to adaptive icons
we won't need icon normalization AND we won't need legacy icon treatment.
Change-Id: Ic5745a5c521e670ce699f6a74733739cb7986f71
Diffstat (limited to 'src_flags')
-rw-r--r-- | src_flags/com/android/launcher3/config/FeatureFlags.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src_flags/com/android/launcher3/config/FeatureFlags.java b/src_flags/com/android/launcher3/config/FeatureFlags.java index 4b3e2e40a..1c3e19f80 100644 --- a/src_flags/com/android/launcher3/config/FeatureFlags.java +++ b/src_flags/com/android/launcher3/config/FeatureFlags.java @@ -49,8 +49,8 @@ public final class FeatureFlags { public static final boolean LIGHT_STATUS_BAR = false; // When enabled icons are badged with the number of notifications associated with that app. public static final boolean BADGE_ICONS = true; - // When enabled, icons not supporting {@link MaskableIconDrawable} will be wrapped in this class. - public static final boolean LEGACY_ICON_TREATMENT = false; + // When enabled, icons not supporting {@link AdaptiveIconDrawable} will be wrapped in {@link FixedScaleDrawable}. + public static final boolean LEGACY_ICON_TREATMENT = true; // When enabled, adaptive icons would have shadows baked when being stored to icon cache. public static final boolean ADAPTIVE_ICON_SHADOW = true; // When enabled, app discovery will be enabled if service is implemented |