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

Commit b0da69e3 authored by Justin Ghan's avatar Justin Ghan
Browse files

Invalidate connectionless handwriting availability cache when enabled setting changes

Bug: 338036076
Test: StylusHandwritingTest
Change-Id: I1e3198fb94c9a781cf709b2a55197ad65e354278
parent 6059aa47
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -816,6 +816,8 @@ public final class InputMethodManagerService implements IInputMethodManagerImpl.
                    }
                } else if (stylusHandwritingEnabledUri.equals(uri)) {
                    InputMethodManager.invalidateLocalStylusHandwritingAvailabilityCaches();
                    InputMethodManager
                            .invalidateLocalConnectionlessStylusHandwritingAvailabilityCaches();
                } else {
                    boolean enabledChanged = false;
                    String newEnabled = InputMethodSettingsRepository.get(mCurrentUserId)