Update MainActivity.java

This commit is contained in:
UnknownShadow200 2024-11-28 18:55:07 +11:00 committed by GitHub
parent 7901ee45a1
commit 03186fa2b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -432,7 +432,7 @@ public class MainActivity extends Activity
try { try {
CCMotionListener listener = new CCMotionListener(this); CCMotionListener listener = new CCMotionListener(this);
view.setOnGenericMotionListener(listener); view.setOnGenericMotionListener(listener);
} catch (Exception ex) { } catch {
// Unsupported on android 12 // Unsupported on android 12
} }
} }