summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorTaran Singh <tarandeep@google.com>2021-01-29 16:42:52 +0000
committerTaran Singh <tarandeep@google.com>2021-02-18 18:22:27 +0000
commitd6f8a1ada1d1d3501f2d11aa6d514965fba00e46 (patch)
treebe7b8c1b7981066c160ce5db25e4b79d8603e72d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parenta84fbe7f17dcd56158a29468a4ff47ee6d5a9bd2 (diff)
Avoid IME restart for configChanges
Handle onConfigurationChanged() in order to prevent restarting InputMethodService everytime. We introduce a new API attribute "configChanges" in InputMethod(attrs.xml) which when declared by IME, will be responsible for handling mentioned configuration changes. Bug: 167948419 Test: atest InputMethodServiceTest Manually: 1. Patch Ie91e7a8e06b80864ef9409031e8543858552d70d to use dual display area. 2. Open applications with editors on both display areas. 3. Attach a debug point for IMS#onConfigurationChanged(). 4. Make sure IMS#resetStateForNewConfiguration() is not called when IME moves between these two identical DisplayAreas Change-Id: Iff88b768c6b06cf5cf1fe9e97ee97f8f78e6f0bd
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions