Android: Remove inappropriate leanback checks
Android TV devices aren't the only devices without touchscreens. Regarding MotionAlertDialog, I could've replaced the leanback check with a touchscreen check instead of just removing it, but I thought there was no reason to prevent people with touchscreens from doing a long back press if they want to.
This commit is contained in:
1 parent
cf51642c17
commit
27554d2f26
3 files changed
+9
-3
No files matched your search
File renamed without changes.
@@ -0,0 +1,7 @@
|
||||
<SurfaceView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/surface_emulation"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_width="match_parent"
|
||||
android:focusable="false"
|
||||
android:focusableInTouchMode="false"
|
||||
/>
|
||||
Reference in new issue
Block a user