summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorPrzemyslaw Szczepaniak <pszczepaniak@google.com>2013-01-16 17:24:44 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-01-22 17:20:37 +0000
commit9c4012b31b0c09cb14689bd96a71aae42c8a00cd (patch)
tree202330fd6f0f08726ae812ba635010e825e4c9d7 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentb3608ad87739a8ec087a498d8c9397caf01f7738 (diff)
Make TextToSpeech.shutdown() work before init callback.
TextToSpeech.shutdown() never worked properly if was called before receiving onServiceConnected in connection object. Also, due to recent changes, TextToSpeech.shutdown() did not work until async task created in onServiceConnected returned its result to the main thread. This change makes .shutdown() work in all those cases. To allow that runAction can now execute code with connection that's not fully setuped - so we can shutt it down. Also, newly created connection is now hold in new member variable mConnectingServiceConnection, so it can be closed before receiving onServiceConnected callback. Also, I changed name of OnServiceConnectedAsyncTask to SetupConnectionAsyncTask, I find it more descriptive. Bug: 8003757 Change-Id: I41d84cfdb8fa28fe44235fb4a9764fa8f3d0643c
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions