summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2013-04-04 22:45:12 -0700
committerThe Android Automerger <android-build@android.com>2013-04-05 15:37:32 -0700
commitbf978c34480741bdac1a375f7e70ef8a770fdafb (patch)
tree1a2fc232514da14ff3b1bfc4d9754b8aa01b7aaf /graphics/java/android/renderscript/RenderScript.java
parent0983cb91e628743a9926f3a1f6c67a100040fb5e (diff)
Correctly manage the lifecycle of IME InputChannels.
InputChannels are normally duplicated when sent to a remote process over Binder but this does not happen if the recipient is running within the system server process. This causes problems for KeyGuard because the InputMethodManagerService may accidentally dispose the channel that KeyGuard is using. Fixed the lifecycle of InputChannels that are managed by the IME framework. We now return a duplicate of the channel to the application and then take care to dispose of the duplicate when necessary. In particular, InputBindResult disposes its InputChannel automatically when returned through Binder (using PARCELABLE_WRITE_RETURN_VALUE). Bug: 8493879 Change-Id: I08ec3d13268c76f3b56706b4523508bcefa3be79
Diffstat (limited to 'graphics/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions