You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
stub FocusFinder to fix crash when pressing arrow keys
Since we now have basic support for keyboard input, new code paths can be reached. For example in the ViewPager in the MainActivity of NewPipe.
This commit is contained in:
9
src/api-impl/android/view/SoundEffectConstants.java
Normal file
9
src/api-impl/android/view/SoundEffectConstants.java
Normal file
@@ -0,0 +1,9 @@
|
||||
package android.view;
|
||||
|
||||
public class SoundEffectConstants {
|
||||
|
||||
// the typo is part of the API
|
||||
public static int getContantForFocusDirection(int direction) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user