Android: Convert InputOverlay to Kotlin

This commit is contained in:
Charles Lombardo 2023-06-03 15:01:34 -04:00
parent 0b3d28abaf
commit 9828ffe250
3 changed files with 2344 additions and 1870 deletions

View File

@ -238,7 +238,7 @@ public final class EmulationFragment extends Fragment implements SurfaceHolder.C
if (mInputOverlay != null) if (mInputOverlay != null)
{ {
mBinding.doneControlConfig.setVisibility(View.VISIBLE); mBinding.doneControlConfig.setVisibility(View.VISIBLE);
mInputOverlay.setIsInEditMode(true); mInputOverlay.setEditMode(true);
} }
} }
@ -247,7 +247,7 @@ public final class EmulationFragment extends Fragment implements SurfaceHolder.C
if (mInputOverlay != null) if (mInputOverlay != null)
{ {
mBinding.doneControlConfig.setVisibility(View.GONE); mBinding.doneControlConfig.setVisibility(View.GONE);
mInputOverlay.setIsInEditMode(false); mInputOverlay.setEditMode(false);
} }
} }