OSDN Git Service

Remove redundant arguments.
authorYohei Yukawa <yukawa@google.com>
Sat, 13 Feb 2016 03:37:03 +0000 (19:37 -0800)
committerYohei Yukawa <yukawa@google.com>
Sat, 13 Feb 2016 03:37:03 +0000 (19:37 -0800)
commit94e3330e639e1b96f5bd000f4c0f743b3cc174fc
treeee03deb7b508bae4bc03a842be351c09513534d1
parentd34e1486ee70ed433b86fa4815eded105f95887a
Remove redundant arguments.

The "list" and "map" arguments of IMMS#buildInputMethodListLocked() are
nothing more than synonyms of IMMS#mMethodList and IMMS#mMethodMap,
respectively.  There is no reason to pass them as parameters.  We can
access them directly as we have done there for other member fields.

This is kind of a mechanical refactoring.  No behavior change is
intended.

Bug: 26279466
Change-Id: Ia27e19f9358ba33abbb1e5a27cebe7c9953c998f
services/core/java/com/android/server/InputMethodManagerService.java