[Scummvm-git-logs] scummvm branch-2-7 -> b2b390f6022bafa86fcc817bd710c93435afa5bb
antoniou79
noreply at scummvm.org
Wed Mar 22 20:21:49 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
b2b390f602 ANDROID: Fix another deprecated Handler() usage
Commit: b2b390f6022bafa86fcc817bd710c93435afa5bb
https://github.com/scummvm/scummvm/commit/b2b390f6022bafa86fcc817bd710c93435afa5bb
Author: antoniou79 (a.antoniou79 at gmail.com)
Date: 2023-03-22T22:21:40+02:00
Commit Message:
ANDROID: Fix another deprecated Handler() usage
Changed paths:
backends/platform/android/org/scummvm/scummvm/ScummVMEventsModern.java
diff --git a/backends/platform/android/org/scummvm/scummvm/ScummVMEventsModern.java b/backends/platform/android/org/scummvm/scummvm/ScummVMEventsModern.java
index ed57fe50934..b614c6aef3a 100644
--- a/backends/platform/android/org/scummvm/scummvm/ScummVMEventsModern.java
+++ b/backends/platform/android/org/scummvm/scummvm/ScummVMEventsModern.java
@@ -2,6 +2,7 @@ package org.scummvm.scummvm;
import android.content.Context;
import android.os.Handler;
+import android.os.Looper;
import android.os.Message;
import android.util.Log;
import android.view.MotionEvent;
@@ -33,6 +34,7 @@ public class ScummVMEventsModern extends ScummVMEventsBase {
private final WeakReference<ScummVMEventsModern> mListenerReference;
public ScummVMEventsModernHandler(ScummVMEventsModern listener) {
+ super(Looper.getMainLooper());
mListenerReference = new WeakReference<>(listener);
}
More information about the Scummvm-git-logs
mailing list