mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-18 18:28:20 +00:00
Fix weird issue from new Gradle build tools
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3">
|
||||
<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<!-- Hotseat (We use the screen as the position of the item in the hotseat) -->
|
||||
<!-- Messaging, [All Apps], Dialer -->
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3">
|
||||
<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<!-- Hotseat -->
|
||||
<include launcher:workspace="@xml/dw_phone_hotseat" />
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3">
|
||||
<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<!-- Hotseat -->
|
||||
<include launcher:workspace="@xml/dw_phone_hotseat" />
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3">
|
||||
<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<!-- Hotseat -->
|
||||
<include launcher:workspace="@xml/dw_tablet_hotseat" />
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3">
|
||||
<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<!-- Hotseat -->
|
||||
<include launcher:workspace="@xml/dw_tablet_hotseat" />
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<profiles xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3" >
|
||||
<profiles xmlns:launcher="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<profile
|
||||
launcher:name="Pixel (Display Size set to Largest)"
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3">
|
||||
<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto">
|
||||
<!-- Hotseat (We use the screen as the position of the item in the hotseat) -->
|
||||
<!-- Dialer, Messaging, [All Apps], Browser, Camera -->
|
||||
<resolve
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto/com.android.launcher3">
|
||||
<favorites xmlns:launcher="http://schemas.android.com/apk/res-auto">
|
||||
<!-- Hotseat (We use the screen as the position of the item in the hotseat) -->
|
||||
<!-- Messaging, Email, Browser, [All Apps], Music, Gallery, Camera -->
|
||||
<resolve
|
||||
|
||||
@@ -646,7 +646,7 @@ public class AutoInstallsLayout {
|
||||
*/
|
||||
protected static String getAttributeValue(XmlResourceParser parser, String attribute) {
|
||||
String value = parser.getAttributeValue(
|
||||
"http://schemas.android.com/apk/res-auto/com.android.launcher3", attribute);
|
||||
"http://schemas.android.com/apk/res-auto", attribute);
|
||||
if (value == null) {
|
||||
value = parser.getAttributeValue(null, attribute);
|
||||
}
|
||||
@@ -660,7 +660,7 @@ public class AutoInstallsLayout {
|
||||
protected static int getAttributeResourceValue(XmlResourceParser parser, String attribute,
|
||||
int defaultValue) {
|
||||
int value = parser.getAttributeResourceValue(
|
||||
"http://schemas.android.com/apk/res-auto/com.android.launcher3", attribute,
|
||||
"http://schemas.android.com/apk/res-auto", attribute,
|
||||
defaultValue);
|
||||
if (value == defaultValue) {
|
||||
value = parser.getAttributeResourceValue(null, attribute, defaultValue);
|
||||
|
||||
Reference in New Issue
Block a user