mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
Add the leak_vm meta-data in add-to-app sample. (#996)
This commit is contained in:
@@ -37,6 +37,15 @@
|
|||||||
android:hardwareAccelerated="true"
|
android:hardwareAccelerated="true"
|
||||||
android:windowSoftInputMode="adjustResize"
|
android:windowSoftInputMode="adjustResize"
|
||||||
/>
|
/>
|
||||||
|
<!-- Whether leave or clean up the VM after the last shell shuts down. If your want to let
|
||||||
|
your app destroy the last shell and re-create shells more quickly, set it to true,
|
||||||
|
otherwise if you want to clean up the memory of the leak VM, set it to false.
|
||||||
|
(This setting works after the Flutter 2.10 stable version.)
|
||||||
|
View https://github.com/flutter/flutter/issues/95903 for more detail. -->
|
||||||
|
<meta-data
|
||||||
|
android:name="io.flutter.embedding.android.LeakVM"
|
||||||
|
android:value="false"
|
||||||
|
/>
|
||||||
</application>
|
</application>
|
||||||
|
|
||||||
</manifest>
|
</manifest>
|
||||||
Reference in New Issue
Block a user