Fine tune the circle detection

Decreased the pixel_diff_percentage from 10% to 0.5% by
not counting the pixel_diff around the mask path outline.

Verified that this implementation works well on both Pixel/PixelXL

b/36563706

Change-Id: I8bb488f550a67e2188eff4c4b9e7717e979a741c
This commit is contained in:
Hyunyoung Song
2017-03-28 18:43:56 -07:00
parent a0b4ac56c1
commit ffd7e76261
2 changed files with 26 additions and 12 deletions

View File

@@ -763,7 +763,7 @@ public class IconCache {
}
private static final class IconDB extends SQLiteCacheHelper {
private final static int DB_VERSION = 10;
private final static int DB_VERSION = 11;
private final static int RELEASE_VERSION = DB_VERSION +
(FeatureFlags.LAUNCHER3_DISABLE_ICON_NORMALIZATION ? 0 : 1);