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

Commit 69508eee authored by Cosmin Băieș's avatar Cosmin Băieș
Browse files

Re enable IME tests for show/hide flags

Previously we disabled IME tests that relied on behaviour specific to
flags like SHOW_IMPLICIT, SHOW_FORCED, HIDE_IMPLICIT_ONLY or
HIDE_NOT_ALWAYS, as the IME insets controller refactor made it so we
lose this flag information.

This re-enables the tests, verifying that having the flags passed has
the same behaviour as having no flags set, when the refactor is enabled.

Flag: EXEMPT testfix
Bug: 394328311
Test: atest InputMethodServiceTest
Change-Id: I29a01e1bb00ae841270a24465cbcbb1a031c0f3b
parent 89ae7f71
Loading
Loading
Loading
Loading
+187 −133

File changed.

Preview size limit exceeded, changes collapsed.

+0 −6
Original line number Diff line number Diff line
@@ -110,12 +110,6 @@ public class InputMethodServiceWrapper extends InputMethodService {
        }
    }

    @Override
    public void requestHideSelf(int flags) {
        Log.i(TAG, "requestHideSelf() " + flags);
        super.requestHideSelf(flags);
    }

    @Override
    public void onConfigurationChanged(Configuration newConfig) {
        Log.i(TAG, "onConfigurationChanged() " + newConfig);