Skip to content

Commit c82cda7

Browse files
committed
overlay: enable round icons for oreo
see https://forum.xda-developers.com/showpost.php?p=72937762&postcount=41 Signed-off-by: David Viteri <[email protected]>
1 parent e8c920b commit c82cda7

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

opengapps-packages.mk

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,13 @@ GAPPS_EXCLUDED_PACKAGES += \
178178
GoogleHome
179179

180180
ifneq ($(filter $(call get-allowed-api-levels),25),)
181+
ifneq ($(filter-out $(call get-allowed-api-levels),26),)
181182
DEVICE_PACKAGE_OVERLAYS += \
182-
$(GAPPS_DEVICE_FILES_PATH)/overlay/pixelicons
183+
$(GAPPS_DEVICE_FILES_PATH)/overlay/pixelicons/25
184+
else
185+
DEVICE_PACKAGE_OVERLAYS += \
186+
$(GAPPS_DEVICE_FILES_PATH)/overlay/pixelicons/26
187+
endif
183188

184189
PRODUCT_PACKAGES += \
185190
PixelLauncherIcons
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
/*
4+
** Copyright 2011, The Android Open Source Project
5+
**
6+
** Licensed under the Apache License, Version 2.0 (the "License");
7+
** you may not use this file except in compliance with the License.
8+
** You may obtain a copy of the License at
9+
**
10+
** http://www.apache.org/licenses/LICENSE-2.0
11+
**
12+
** Unless required by applicable law or agreed to in writing, software
13+
** distributed under the License is distributed on an "AS IS" BASIS,
14+
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
** See the License for the specific language governing permissions and
16+
** limitations under the License.
17+
*/
18+
-->
19+
20+
<!-- These resources are around just to allow their values to be customized
21+
for different hardware and product builds. -->
22+
<resources>
23+
<!-- Specifies the path that is used by AdaptiveIconDrawable class to crop launcher icons. -->
24+
<string name="config_icon_mask" translatable="false">"M50 0C77.6 0 100 22.4 100 50C100 77.6 77.6 100 50 100C22.4 100 0 77.6 0 50C0 22.4 22.4 0 50 0Z"</string>
25+
</resources>

0 commit comments

Comments
 (0)