diff options
author | Christian Schneppe <christian@pix-art.de> | 2016-09-07 22:22:16 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-09-07 22:22:16 +0200 |
commit | 749b13204904e16e5971dbc80ea0c71173bb24bf (patch) | |
tree | de893392fe559a835b87dca0c1745d0ecbb7d418 /src/main | |
parent | 685341457b310d2b22f4b3048ea50e35e4f6be26 (diff) |
performance optimizations
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/AndroidManifest.xml | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/main/AndroidManifest.xml b/src/main/AndroidManifest.xml index 1bca1970c..7a6201974 100644 --- a/src/main/AndroidManifest.xml +++ b/src/main/AndroidManifest.xml @@ -28,7 +28,7 @@ android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" - android:largeHeap="true" + android:largeHeap="false" android:theme="@style/ConversationsTheme" tools:replace="android:label"> <service android:name="de.pixart.messenger.services.XmppConnectionService"/> @@ -68,6 +68,7 @@ android:name="de.pixart.messenger.ui.ConversationActivity" android:label="@string/app_name" android:launchMode="singleTask" + android:hardwareAccelerated="true" android:minWidth="300dp" android:minHeight="300dp" android:windowSoftInputMode="stateHidden"> @@ -202,7 +203,8 @@ <activity android:name="de.pixart.messenger.ui.ShareLocationActivity" - android:label="@string/share_location"> + android:label="@string/share_location" + android:hardwareAccelerated="true"> <intent-filter> <action android:name="de.pixart.messenger.location.request"/> <category android:name="android.intent.category.DEFAULT"/> @@ -210,7 +212,8 @@ </activity> <activity android:name="de.pixart.messenger.ui.ShowLocationActivity" - android:label="@string/show_location"> + android:label="@string/show_location" + android:hardwareAccelerated="true"> <intent-filter> <action android:name="de.pixart.messenger.location.show"/> <category android:name="android.intent.category.DEFAULT"/> @@ -218,7 +221,8 @@ </activity> <activity android:name="de.pixart.messenger.ui.ShowFullscreenMessageActivity" - android:configChanges="orientation|screenSize"> + android:configChanges="orientation|screenSize" + android:hardwareAccelerated="true"> </activity> <activity android:name="de.pixart.messenger.ui.TrustKeysActivity" @@ -243,7 +247,10 @@ android:launchMode="singleTask" android:theme="@style/ConversationsTheme"> </activity> - <activity android:name="com.soundcloud.android.crop.CropImageActivity"/> + <activity + android:name="com.soundcloud.android.crop.CropImageActivity" + android:hardwareAccelerated="true"> + </activity> <service android:name="de.pixart.messenger.services.UpdaterWebService"/> <service android:name="de.pixart.messenger.services.CheckAppVersionService"/> |