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

Commit 4c61aa3c authored by Joe Onorato's avatar Joe Onorato
Browse files

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

Change-Id: Iad80d04cbd38ef2922d341be307154f74eeb4774
parent 069dffdf
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");
        }