Use large heap on API < 26

This commit is contained in:
FooIbar committed 2023-11-28 00:52:18 +08:00
1 parent ff8e1b7d28
commit e465356df8
3 files changed
+8

No files matched your search

+1
View File
@@ -28,6 +28,7 @@
android:hasFragileUserData="true" android:hasFragileUserData="true"
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_launcher"
android:label="@string/app_name" android:label="@string/app_name"
android:largeHeap="@bool/large_heap"
android:localeConfig="@xml/locale_config" android:localeConfig="@xml/locale_config"
android:networkSecurityConfig="@xml/network_security_config" android:networkSecurityConfig="@xml/network_security_config"
android:roundIcon="@mipmap/ic_launcher_round" android:roundIcon="@mipmap/ic_launcher_round"
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="large_heap">false</bool>
</resources>
+1
View File
@@ -18,6 +18,7 @@
<resources> <resources>
<bool name="large_heap">true</bool>
<bool name="tag_translatable">false</bool> <bool name="tag_translatable">false</bool>
</resources> </resources>