aboutsummaryrefslogtreecommitdiffstats
path: root/java/AndroidManifest.xml.in
diff options
context:
space:
mode:
authorPo Lu2023-07-13 18:17:59 +0800
committerPo Lu2023-07-13 18:17:59 +0800
commitae9f1a075c3a5f5bd0425828b6144f97265d8794 (patch)
tree4d22cbafc2915f5bd6fe9f2279a5316240337998 /java/AndroidManifest.xml.in
parent140755f2cfe6a39f643ab0a9ca2d81b0ed470ae7 (diff)
downloademacs-ae9f1a075c3a5f5bd0425828b6144f97265d8794.tar.gz
emacs-ae9f1a075c3a5f5bd0425828b6144f97265d8794.zip
Improve workaround for partial texture updates on Android
* java/AndroidManifest.xml.in: * java/org/gnu/emacs/EmacsDialog.java (toAlertDialog): Don't change hardware acceleration state. * java/org/gnu/emacs/EmacsNative.java (notifyPixelsChanged): New function. * java/org/gnu/emacs/EmacsSurfaceView.java (EmacsSurfaceView): New field `bitmapChanged'. (copyToFrontBuffer): Signal that the bitmap has changed. (onDraw): If the bitmap has changed, increment the generation ID. * src/android.c (JNICALL): Implement new function.
Diffstat (limited to 'java/AndroidManifest.xml.in')
-rw-r--r--java/AndroidManifest.xml.in5
1 files changed, 0 insertions, 5 deletions
diff --git a/java/AndroidManifest.xml.in b/java/AndroidManifest.xml.in
index f2aede7369c..e79fb4e46e7 100644
--- a/java/AndroidManifest.xml.in
+++ b/java/AndroidManifest.xml.in
@@ -77,14 +77,10 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. -->
77 @ANDROID_SHARED_USER_ID@ 77 @ANDROID_SHARED_USER_ID@
78 android:extractNativeLibs="true"> 78 android:extractNativeLibs="true">
79 79
80 <!-- See EmacsSurfaceView.onDraw for why hardware acceleration is
81 disabled. -->
82
83 <activity android:name="org.gnu.emacs.EmacsActivity" 80 <activity android:name="org.gnu.emacs.EmacsActivity"
84 android:launchMode="singleInstance" 81 android:launchMode="singleInstance"
85 android:windowSoftInputMode="adjustResize" 82 android:windowSoftInputMode="adjustResize"
86 android:exported="true" 83 android:exported="true"
87 android:hardwareAccelerated="false"
88 android:configChanges="orientation|screenSize|screenLayout|keyboardHidden"> 84 android:configChanges="orientation|screenSize|screenLayout|keyboardHidden">
89 <intent-filter> 85 <intent-filter>
90 <action android:name="android.intent.action.MAIN" /> 86 <action android:name="android.intent.action.MAIN" />
@@ -177,7 +173,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. -->
177 <activity android:name="org.gnu.emacs.EmacsMultitaskActivity" 173 <activity android:name="org.gnu.emacs.EmacsMultitaskActivity"
178 android:windowSoftInputMode="adjustResize" 174 android:windowSoftInputMode="adjustResize"
179 android:exported="true" 175 android:exported="true"
180 android:hardwareAccelerated="false"
181 android:configChanges="orientation|screenSize|screenLayout|keyboardHidden"/> 176 android:configChanges="orientation|screenSize|screenLayout|keyboardHidden"/>
182 177
183 <activity android:autoRemoveFromRecents="true" 178 <activity android:autoRemoveFromRecents="true"