Fix repeated calls into reportExtractedText
As part of adding the hint text feature in I357dd5c74b61d149cf8612d1f52c7118ec70c696 I refactored the code inside reportExtractedText to avoid nesting but lost one of the condition checks in the process. Since onDraw calls into this method on each frame, the missing check was causing calls to be made into the IME even when no content or selection changes have happened. Test: CtsWidgetTestCases:.TextViewTest Bug: 73613936 Change-Id: If56e3f1d45e64dccd052e4cff4d742f0cbecc07c
Loading
Please register or sign in to comment