summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2009-07-30 16:14:34 -0700
committerAmith Yamasani <yamasani@google.com>2009-07-30 16:14:34 -0700
commita2ef00b4282dcf122c3bdd6fc23cf772474f6abb (patch)
tree308162c876f982dec24acbe37847fcbf8c99d9d9 /graphics/java/android/renderscript/RenderScript.java
parentbad80e0dccdeaeea97991f7d092678ff0df1bc84 (diff)
Don't invalidate view if setEnabled doesn't change the state.
Check the current enabled state before setting it, in case there's no change. Otherwise some apps are repeatedly redrawing buttons based on validation of some text field (like gmail or mms message bodies). Should slightly improve the performance of soft keyboard text entry.
Diffstat (limited to 'graphics/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions