Exception when applying the two new icon shapes

Removed android:targeName from manifest

Fixes: 152816801
Test: manual
Change-Id: I5457269e98b27b875c96d45ab3d5b858e8908715
This commit is contained in:
Jay Aliomer
2020-04-15 18:23:27 -04:00
parent 8f18999a31
commit bc420190d8
5 changed files with 55 additions and 2 deletions

View File

@@ -45,6 +45,8 @@ LOCAL_REQUIRED_MODULES := \
IconPackRoundedSettingsOverlay \
IconPackRoundedSystemUIOverlay \
IconPackRoundedThemePickerOverlay \
IconShapeFlowerOverlay \
IconShapeHexagonOverlay \
IconShapeRoundedRectOverlay \
IconShapeSquircleOverlay \
IconShapeTaperedRectOverlay \

View File

@@ -0,0 +1,26 @@
<!--
~ Copyright (C) 2020 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.theme.icon.flower"
android:versionCode="1"
android:versionName="1.0">
<overlay
android:targetPackage="android"
android:category="android.theme.customization.adaptive_icon_shape"
android:priority="1"/>
<application android:label="@string/icon_shape_flower_overlay" android:hasCode="false"/>
</manifest>

View File

@@ -21,7 +21,6 @@
android:versionName="1.0">
<overlay
android:targetPackage="android"
android:targetName="IconShapeCustomization"
android:category="android.theme.customization.adaptive_icon_shape"
android:priority="1"/>

View File

@@ -0,0 +1,27 @@
<!--
~ Copyright (C) 2020 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.theme.icon.hexagon"
android:versionCode="1"
android:versionName="1.0">
<overlay
android:targetPackage="android"
android:category="android.theme.customization.adaptive_icon_shape"
android:priority="1"/>
<application android:label="@string/icon_shape_hexagon_overlay" android:hasCode="false"/>
</manifest>

View File

@@ -21,7 +21,6 @@
android:versionName="1.0">
<overlay
android:targetPackage="android"
android:targetName="IconShapeCustomization"
android:category="android.theme.customization.adaptive_icon_shape"
android:priority="1"/>