Android: don't init touch pointer when device doesn't have touch

This commit is contained in:
zackhow 2019-01-20 11:38:41 -05:00
parent e8739156e4
commit e15af5077f
1 changed files with 2 additions and 1 deletions

View File

@ -1067,6 +1067,7 @@ public final class EmulationActivity extends AppCompatActivity
public void initInputPointer() public void initInputPointer()
{ {
if (deviceHasTouchScreen())
mEmulationFragment.initInputPointer(); mEmulationFragment.initInputPointer();
} }
} }