Add the leak_vm meta-data in add-to-app sample. (#996)

pull/1005/head
eggfly 3 years ago committed by GitHub
parent e20b4a1f28
commit 0024df9dad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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>
Loading…
Cancel
Save