Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82e93547 authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Make InputMethodManagerService a final class

This CL makes it clear that InputMethodManagerService should never be
extended nor mocked, and compilers and ART should be able to optimize
the code based on such an assumption.

There should be no observable behavior change in the production code.

Bug: 192412909
Test: presubmit
Change-Id: I203554fa2964eac9879a5ba5e23ba2f7087403ed
parent 515308ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -204,7 +204,7 @@ import java.util.concurrent.atomic.AtomicInteger;
/**
 * This class provides a system service that manages input methods.
 */
public class InputMethodManagerService extends IInputMethodManager.Stub
public final class InputMethodManagerService extends IInputMethodManager.Stub
        implements Handler.Callback {
    static final boolean DEBUG = false;
    static final String TAG = "InputMethodManagerService";