Revert "InputMapper refactor: refactor device enable/disable method" am: 3e56f7e702 am: d82efb7d36

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/23971268

Change-Id: I1f498956542dea235d963be397c5d47ae72e9f4a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>