From ef9f87b7fabd3d1c73b075a184832a67b1167455 Mon Sep 17 00:00:00 2001 From: Ishan09811 <156402647+Ishan09811@users.noreply.github.com> Date: Thu, 25 Jan 2024 14:12:44 +0530 Subject: [PATCH] apk optimisations --- src/pandroid/app/build.gradle.kts | 3 ++- src/pandroid/app/src/main/AndroidManifest.xml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pandroid/app/build.gradle.kts b/src/pandroid/app/build.gradle.kts index f1feaf0d..3351fcf9 100644 --- a/src/pandroid/app/build.gradle.kts +++ b/src/pandroid/app/build.gradle.kts @@ -22,7 +22,8 @@ android { buildTypes { release { - isMinifyEnabled = false + minifyEnabled true + shrinkResources true proguardFiles( getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" diff --git a/src/pandroid/app/src/main/AndroidManifest.xml b/src/pandroid/app/src/main/AndroidManifest.xml index 9f767654..b6276493 100644 --- a/src/pandroid/app/src/main/AndroidManifest.xml +++ b/src/pandroid/app/src/main/AndroidManifest.xml @@ -20,6 +20,8 @@ android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" + android:isGame="true" + android:hardwareAccelerated="true" android:theme="@style/Theme.Pandroid" tools:targetApi="31">