From 18504075d89d92b193e1edf13ff6c494ed5afd31 Mon Sep 17 00:00:00 2001 From: parabolox Date: Thu, 26 Jan 2017 18:11:20 -0500 Subject: [PATCH] Update AndroidManifest.xml First, increase memory capability for the Dalvik/ART VM by adding this attribute to the application element, which should help out-of-the-box for larger initial replication payloads: android:largeHeap="true" Second, make it so a new activity is not created every time the app is brought to the foreground (for example, when you go to the home screen and back to the app) by adding this attribute to the activity element: android:launchMode="singleInstance" --- ReferenceApplication/app/src/main/AndroidManifest.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ReferenceApplication/app/src/main/AndroidManifest.xml b/ReferenceApplication/app/src/main/AndroidManifest.xml index 1c8e1d2..74cab67 100644 --- a/ReferenceApplication/app/src/main/AndroidManifest.xml +++ b/ReferenceApplication/app/src/main/AndroidManifest.xml @@ -12,11 +12,15 @@ - + @@ -29,4 +33,4 @@ - \ No newline at end of file +