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

Commit 0aa211db authored by Joe Onorato's avatar Joe Onorato Committed by Android (Google) Code Review
Browse files

Merge "this is only called from the ui thread, just make the calls directly."

parents 170d2ee7 4c61aa3c
Loading
Loading
Loading
Loading
+1 −11
Original line number Diff line number Diff line
@@ -126,18 +126,8 @@ public class InputMethodButton extends ImageView {
        }
    }

    private void postRefreshStatusIcon() {
        Handler h = getHandler();
        if (h == null) return;
        h.post(new Runnable() {
            public void run() {
                refreshStatusIcon(mKeyboardShown);
            }
        });
    }

    public void setIMEButtonVisible(boolean visible) {
        mKeyboardShown = visible;
        postRefreshStatusIcon();
        refreshStatusIcon(mKeyboardShown);
    }
}
+0 −1
Original line number Diff line number Diff line
@@ -696,7 +696,6 @@ public class TabletStatusBarService extends StatusBarService {
    }

    public void setIMEButtonVisible(boolean visible) {

        if (DEBUG) {
            Slog.d(TAG, (visible?"showing":"hiding") + " the IME button");
        }