OSDN Git Service

Use Context.getSystemService(Class<T>) for InputManager.
authorYohei Yukawa <yukawa@google.com>
Thu, 26 Nov 2015 04:35:04 +0000 (20:35 -0800)
committerYohei Yukawa <yukawa@google.com>
Thu, 26 Nov 2015 08:02:11 +0000 (00:02 -0800)
commit8ce2a538d9b94a0d8e1543c4ee4620a8af525276
treecc94ee35b1369cb6fc883e33e6ee07f1a489c80b
parent777ef95ebf18c61ff09e7567a06058d351c530ca
Use Context.getSystemService(Class<T>) for InputManager.

This is a mechanical replacement of Context.getSystemService(String)
with Context.getSystemService(Class<T>) when retrieving InputManager.
Note those are bundled code.  Hence we don't need to make sure
Build.VERSION.SDK_INT >= 23.

Change-Id: Iee47e374e1349720e3100bab33ed139e1f47c169
core/java/com/android/internal/widget/PointerLocationView.java
packages/SystemUI/src/com/android/systemui/keyboard/KeyboardUI.java
services/core/java/com/android/server/VibratorService.java